CVE-2026-9704: redhat build_of_keycloak
Vulnerability summary
CVE-2026-9704 is a high (CVSS 8.8) vulnerability in redhat build_of_keycloak. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 46.9% of scored vulnerabilities.
Timeline
- 27-05-2026PublishedVulnerability first disclosed.
- 26-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
+0.27 pp
From 0.32% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard12 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
- keycloak-fips-26.4All versions (No fix recorded)
Wolfi4 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
Org.keycloak2 products
- keycloak-server-spi-private< 26.6.3
- keycloak-services< 26.6.3
Redhat1 product
4 vendors · 19 products
References
11 linksShow all 11 references
- github.com/keycloak/keycloakPACKAGE