{"id":78923,"date":"2026-05-27T17:47:40","date_gmt":"2026-05-27T14:17:40","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-9704-keycloak-keycloak-privilege-escalation-due-to-oversized-subject_token-jwt\/"},"modified":"2026-05-27T17:47:40","modified_gmt":"2026-05-27T14:17:40","slug":"cve-2026-9704-keycloak-keycloak-privilege-escalation-due-to-oversized-subject_token-jwt","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-9704-keycloak-keycloak-privilege-escalation-due-to-oversized-subject_token-jwt\/","title":{"rendered":"CVE-2026-9704 &#8211; Keycloak: keycloak: privilege escalation due to oversized subject_token jwt"},"content":{"rendered":"<p>CVE ID :CVE-2026-9704<\/p>\n<p>  Published : May 27, 2026, 2:17 p.m. | 14\u00a0minutes ago<\/p>\n<p>  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&#8217;s service account, leading to privilege escalation.<\/p>\n<p>  Severity: 6.8 | MEDIUM<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-9704 Published : May 27, 2026, 2:17 p.m. | 14\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78923","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78923"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78923\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}