{"id":"CVE-2026-14781","published":"2026-07-05T06:55:30Z","modified":"2026-07-06T14:12:11Z","title":"Keycloak-services: keycloak-services: oidc email_verified claim incorrectly applied to userinfo email","vendor":"Red Hat","product":"Red Hat Build of Keycloak","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00279,"percentile":0.13009,"provenance":"source"},"cwes":[{"id":"CWE-1288","name":"Improper Validation of Consistency within Input"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-14781","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2497118","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.6},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-06T14:11:53.137626Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41732","exploited":false,"provenance":"source"}}