๐Ÿ” CVE Alert

CVE-2026-9704

MEDIUM 6.8

Keycloak: keycloak: privilege escalation due to oversized subject_token jwt

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-1284
Vendor red hat
Product red hat build of keycloak
Published May 27, 2026
Last Updated May 27, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat build of keycloak

Be the first to know when new medium vulnerabilities affecting red hat red hat build of keycloak are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

Red Hat / Red Hat Build of Keycloak
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-9704 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2481877

Credits

Red Hat would like to thank Filip Jovanov (PegasusMKD) for reporting this issue.