CVE-2026-9704
Last modified
CVE-2026-9704 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Build Of Keycloak | All versions |
References
- https://access.redhat.com/security/cve/CVE-2026-9704Mitigation, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2481877Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-9704?
How severe is CVE-2026-9704?
How do I fix CVE-2026-9704?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9697Impact: undici's ProxyAgent silently drops the requestTls op…7.4
- CVE-2026-9698DBI versions before 1.648 for Perl saved errors in a limited…9.8
- CVE-2026-9699Mattermost Plugins versions <=11.6 10.18.11 11.3.6 11.6.5.0 …6.8
- CVE-2026-9700The Eventer plugin for WordPress is vulnerable to time-based…7.5
- CVE-2026-9701The Eventer plugin for WordPress is vulnerable to an insecur…9.8
- CVE-2026-9702The InPost PL WordPress plugin before 1.9.1 does not verify …7.5
- CVE-2026-9705A flaw was found in Keycloak's client registration service. …6.5
- CVE-2026-9708Mattermost versions 11.7.x <= 11.7.2, 11.6.x <= 11.6.4, 10.1…4.9
- CVE-2026-9709The Cornerstone WordPress plugin before 7.8.9 does not enfor…7.7
- CVE-2026-9710The Cornerstone WordPress plugin before 7.8.8 does not enfor…7.7
- CVE-2026-9711The EventON - WordPress Virtual Event Calendar Plugin plugin…9.8
- CVE-2026-9712When creating an export through the pretix API, API clients …3.8
Are you affected by CVE-2026-9704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
