{"id":"CVE-2026-14781","aliases":["CVE-2026-14781"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak-services: keycloak-services: oidc email_verified claim incorrectly applied to userinfo email","summary":"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.\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's email_verified=true claim is blindly applied to the userinfo email.\nExploitation Conditions:\nThe OIDC identity provider must have trustEmail set to true (non-default).\n\nThe userinfo endpoint must be enabled (default).\n\nThe attacker must control or have compromised the upstream OIDC provider.\n\n\nConcrete Impact:\nMark arbitrary email addresses as verified in the Keycloak database.\n\nBypass email-based security controls or verification workflows.\n\nPotential account takeover if the application relies solely on the email_verified flag from the IdP to link accounts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\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's email_verified=true claim is blindly applied to the userinfo email.\nExploitation Conditions:\nThe OIDC identity provider must have trustEmail set to true (non-default).\n\nThe userinfo endpoint must be enabled (default).\n\nThe attacker must control or have compromised the upstream OIDC provider.\n\n\nConcrete Impact:\nMark arbitrary email addresses as verified in the Keycloak database.\n\nBypass email-based security controls or verification workflows.\n\nPotential account takeover if the application relies solely on the email_verified flag from the IdP to link accounts.","source":"cvelist"}],"published":"2026-07-05T06:55:30.225Z","modified":"2026-08-11T01:13:00.727Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-1288"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Keycloak","package":"keycloak-services","cpe":"cpe:/a:redhat:build_keycloak:","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Keycloak","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Keycloak","package":"rhbk-openshift-rhel9/rhbk-openshift-rhel9","cpe":"cpe:/a:redhat:build_keycloak:","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Data Grid 8","package":"keycloak-services","cpe":"cpe:/a:redhat:jboss_data_grid:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","package":"keycloak-services","cpe":"cpe:/a:redhat:jbosseapxp","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","package":"keycloak-services","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","source":"cvelist"},{"ranges":[],"vendor":"redhat","product":"build_of_keycloak","cpe":"cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-14781","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2497118","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Kevin Bozell for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-06T14:11:53.137Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-14781","url":"https://www.cve.org/CVERecord?id=CVE-2026-14781","licence":"CVE Terms of Use","modified":"2026-07-06T14:12:11.151Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-14781","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14781","licence":"Public domain","modified":"2026-08-11T01:13:00.727Z"}],"updatedAt":"2026-11-25T22:59:27.163Z","epss":{"score":0.00241,"percentile":0.16273,"date":"2026-12-01T12:00:22.000Z"}}