Impact
Keycloak’s OIDC broker incorrectly uses the email_verified claim from the id_token for the email address returned by the userinfo endpoint, a flaw linked to CWE‑1288 due to improper validation. If an attacker controls the upstream IdP and trustEmail is enabled, the IdP can issue an id_token marking a forged email as verified while delivering a different email through the userinfo response. Keycloak stores this mismatched address as verified, enabling email verification forgery and possible account takeover when applications rely on the email_verified flag.
Affected Systems
The vulnerability affects several Red Hat distributions that include a build of Keycloak, Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. All installations that use the org.keycloak.broker.oidc package are potentially vulnerable if they expose the userinfo endpoint and have trustEmail enabled. Specific affected version information is not available from the CNA data.
Risk and Exploitability
The CVSS score of 4.8 indicates a moderate impact on confidentiality and integrity. The EPSS score of less than 1% and the absence of a KEV listing are provided by the data. The attack clearly requires control of an upstream OIDC provider with trustEmail set to true, as stated explicitly. Based on the description, it is inferred that overall exploitation risk remains relatively contained.
OpenCVE Enrichment