CVE-2026-9704Keycloak: keycloak: privilege escalation due to oversized subject_token jwt
Beschreibung
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.
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| build keycloak | 26.4 | — | |
| build keycloak | 26.6 | — | |
| redhat | build of keycloak | — | |
| Red Hat | Red Hat build of Keycloak 26.4 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.4.13 | — | |
| Red Hat | Red Hat build of Keycloak 26.6 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.6.3 | — |
Referenzen und Patches
- RHSA-2026:25097 vendor-advisory
- RHSA-2026:25098 vendor-advisory
- RHSA-2026:30049 vendor-advisory
- RHSA-2026:30050 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-9704 vdb-entryMitigationVendor Advisory
- RHBZ#2481877 issue-trackingIssue TrackingVendor Advisory
CPE-Treffer (NVD) (1)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*