{"id":81516,"date":"2026-07-05T10:46:39","date_gmt":"2026-07-05T07:16:39","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-14781-a-flaw-exists-in-the-org-keycloak-broker-oidc-pack\/"},"modified":"2026-07-05T10:46:39","modified_gmt":"2026-07-05T07:16:39","slug":"cve-2026-14781-a-flaw-exists-in-the-org-keycloak-broker-oidc-pack","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-14781-a-flaw-exists-in-the-org-keycloak-broker-oidc-pack\/","title":{"rendered":"CVE-2026-14781 &#8211; A flaw exists in the org.keycloak.broker.oidc pack"},"content":{"rendered":"<p>CVE ID :CVE-2026-14781<\/p>\n<p>  Published : July 5, 2026, 7:16 a.m. | 31\u00a0minutes ago<\/p>\n<p>  Description :A flaw exists in the org.keycloak.broker.oidc package where the OIDC broker incorrectly synchronizes the email_verified claim. When an OIDC identity provider is configured with trustEmail=true and the userinfo endpoint is enabled, Keycloak retrieves the email address from the userinfo response but retrieves the email_verified status exclusively from the id_token.<br \/>\nThe root cause is a lack of validation ensuring that the email_verified claim in the id_token actually refers to the email address returned by the userinfo endpoint. If these two sources return different email addresses, the id_token&#8217;s email_verified=true claim is blindly applied to the userinfo email.<br \/>\nExploitation Conditions:<br \/>\nThe OIDC identity provider must have trustEmail set to true (non-default).<\/p>\n<p>The userinfo endpoint must be enabled (default).<\/p>\n<p>The attacker must control or have compromised the upstream OIDC provider.<\/p>\n<p>Concrete Impact:<br \/>\nMark arbitrary email addresses as verified in the Keycloak database.<\/p>\n<p>Bypass email-based security controls or verification workflows.<\/p>\n<p>Potential account takeover if the application relies solely on the email_verified flag from the IdP to link accounts.<\/p>\n<p>  Severity: 4.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-14781 Published : July 5, 2026, 7:16 a.m. | 31\u00a0minutes ago Description :A flaw exists in the org.keycloak.broker.oidc package where the OIDC broker incorrectly synchronizes the email_verified claim. When an OIDC identity provider is configured with trustEmail=true and the userinfo endpoint is enabled, Keycloak retrieves the email address from the userinfo response but &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-81516","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81516","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=81516"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81516\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}