PT-2026-55159 · Maven · Org.Keycloak:Keycloak-Server-Spi-Private+1
Published
2026-05-27
·
Updated
2026-05-27
CVSS v3.1
6.8
Medium
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
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.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Org.Keycloak:Keycloak-Server-Spi-Private
Org.Keycloak:Keycloak-Services