CVE-2026-9704
A flaw was found in Keycloak. An authenticated user with low …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2026-9704
- bugzilla.redhat.com/show_bug.cgi?id=2481877
- access.redhat.com/errata/RHSA-2026:25098
- access.redhat.com/errata/RHSA-2026:25097
- access.redhat.com/errata/RHSA-2026:30049
- access.redhat.com/errata/RHSA-2026:30050
- nvd.nist.gov/vuln/detail/CVE-2026-9704
- github.com/keycloak/keycloak/issues/49435
- nvd.nist.gov/vuln/detail/CVE-2026-9704
- cve.org/CVERecord?id=CVE-2026-9704
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.