Vulnerability

CVE-2026-9704

highCVSS 3.1 8.8Published 27 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Red Hat build of keycloak

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning