← Übersicht Keycloak

Keycloak: keycloak: privilege escalation due to oversized subject_token jwt

CVE-2026-9704 · GHSA-rr5q-3xwr-f323

Hoch · CVSS 8.8 SUSE: importantRed Hat: Moderate Netzwerk · mit Login Fix verfügbar

Veröffentlicht
27.05.2026 14:45
Zuletzt geändert
11.11.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A flaw was found in Keycloak. An authenticated user with low privileges can exploit this vulnerability by sending an oversized subject_token JSON Web Token (JWT) to the TokenEndpoint. When the token exceeds a 4000-character limit, it is silently dropped, causing the system to fall back to client credentials. This allows the user to gain the permissions of the client's service account, leading to privilege escalation.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 5 behoben.

Red Hat build of Keycloak 26.4 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2026:30050
Red Hat build of Keycloak 26.4.13 Behoben RHSA-2026:30049
Red Hat build of Keycloak 26.6 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2026:25097
Red Hat build of Keycloak 26.6.3 Behoben RHSA-2026:25098
SUSE Package Hub 15 SP7 Behoben trivy-0.76.2-bp157.2.30.1

Betroffene Pakete im beobachteten Stack

Mavenorg.keycloak:keycloak-server-spi-private26.6.3GHSA-rr5q-3xwr-f323
Mavenorg.keycloak:keycloak-services26.6.3GHSA-rr5q-3xwr-f323

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.