Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-server-spi-private | < 26.6.3 | 26.6.3 |
| Java / Kotlin (Maven) | org.keycloak:keycloak-services | < 26.6.3 | 26.6.3 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2026-9704
- https://github.com/keycloak/keycloak/issues/49435
- https://github.com/keycloak/keycloak/pull/49472
- https://github.com/keycloak/keycloak/commit/f1e5b7776c42938d0782fd5846346b8f75c815e6
- https://access.redhat.com/errata/RHSA-2026:25097
- https://access.redhat.com/errata/RHSA-2026:25098
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/security/cve/CVE-2026-9704
- https://bugzilla.redhat.com/show_bug.cgi?id=2481877
- https://github.com/keycloak/keycloak
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-1284- Plattform
- Java / Kotlin (Maven)
- Paket
org.keycloak:keycloak-server-spi-private, org.keycloak:keycloak-services- Veröffentlicht
- 27.05.2026
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-rr5q-3xwr-f323 - CC BY 4.0
Schwachstellenhistorie: org.keycloak:keycloak-server-spi-private
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 7
- Erste → letzte
- 02.2022 05.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 5
- Niedrig 1
Veröffentlichungen pro Jahr
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 5
-
Keycloak Vulnerable to Improper Validation of Specified Quantity in Input dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.