Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

CVE-2026-14781: Improper Validation of Consistency within Input in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-14781cvecve-2026-14781
Published: 07/05/2026 (07/05/2026, 06:55:30 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

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. The 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. Exploitation Conditions: The OIDC identity provider must have trustEmail set to true (non-default). The userinfo endpoint must be enabled (default). The attacker must control or have compromised the upstream OIDC provider. Concrete Impact: Mark arbitrary email addresses as verified in the Keycloak database. Bypass email-based security controls or verification workflows. Potential account takeover if the application relies solely on the email_verified flag from the IdP to link accounts.

CVSS v3.1

Score 4.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/12/2026, 08:59:39 UTC

Technical Analysis

The vulnerability exists in the org.keycloak.broker.oidc package of Red Hat Build of Keycloak. When configured with trustEmail=true and the userinfo endpoint enabled, Keycloak retrieves the email address from the userinfo response but obtains the email_verified claim exclusively from the id_token. There is no validation to ensure that the email_verified claim corresponds to the same email address returned by the userinfo endpoint. If these differ, the email_verified=true status from the id_token is incorrectly applied to the userinfo email. Exploitation requires the attacker to control or have compromised the upstream OIDC provider. This flaw can lead to marking arbitrary emails as verified, bypassing email-based security controls, and potentially account takeover.

Potential Impact

An attacker who controls or compromises the upstream OIDC provider can cause Keycloak to mark arbitrary email addresses as verified. This undermines email verification workflows and security controls that rely on the email_verified flag. Applications that trust this flag for account linking or authentication may be vulnerable to account takeover. The CVSS score is 4.8 (medium severity), indicating limited but meaningful impact on confidentiality and integrity without availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-14781 for current remediation guidance. Until a fix is available, avoid setting trustEmail=true in OIDC identity provider configurations or ensure the upstream OIDC provider is fully trusted and secure. Review application reliance on the email_verified claim and consider additional verification mechanisms.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-05T06:32:45.726Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-14781","vendor":"Red Hat"}]

Threat ID: 6a4a029b27e9c79719530df4

Added to database: 07/05/2026, 07:07:07 UTC

Last enriched: 07/12/2026, 08:59:39 UTC

Last updated: 08/19/2026, 12:20:13 UTC

Views: 186

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses