Skip to main content

Red Hat Build Of Keycloak EUVDEUVD-2026-19201

| CVE-2026-37977 MEDIUM
Origin Validation Error (CWE-346)
2026-04-06 redhat GHSA-5v8v-xvjv-57x7
5.3
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Impact

This vulnerability presents low real-world risk despite affecting a security-critical component. The CVSS score of 3.7 reflects low confidentiality impact, no integrity or availability impact, and network-based but high-complexity attack requirements. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) indicates unauthenticated remote attack capability but with high attack complexity due to strict prerequisite conditions. The EPSS exploitation probability is not independently confirmed in available data. Critically, real-world impact is substantially constrained by the requirement that the target client be misconfigured with webOrigins: ["*"]-a non-default, permissive configuration intended only for development or specialized use cases. The information disclosed is explicitly characterized as low-sensitivity (authorization error responses), and origin isolation is weakened only for already-misconfigured clients. The vulnerability does not enable token theft, privilege escalation, or bypass of authentication; it merely allows conditional reflection of error metadata to attacker-chosen origins. This places the issue in the category of real-but-limited vulnerabilities that require specific deployment misconfigurations to materialize as security incidents.

Exploit ScenarioDerived

An attacker crafts a malicious JWT with an azp claim set to an attacker-controlled domain (e.g., attacker.com). The attacker makes a cross-origin request to the Keycloak UMA token endpoint from a web browser with JavaScript access, submitting the crafted JWT. The endpoint reflects the attacker-supplied azp value into the Access-Control-Allow-Origin response header before validating the JWT signature. Although the JWT signature validation subsequently fails and the grant is rejected, the CORS header has already been set, allowing the attacker's JavaScript origin to read the error response message. If that error response contains sensitive information (such as internal server state or authorization decisions), the attacker gains information disclosure. This scenario is realistically possible only against Keycloak deployments where the target client is misconfigured with webOrigins: ["*"]; standard deployments with explicit origin whitelists are not vulnerable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 06, 2026

CORS header injection in Keycloak's User-Managed Access token endpoint allows remote attackers to reflect attacker-controlled origin values before JWT signature validation, potentially exposing low-sensitivity authorization error responses when clients are misconfigured with wildcard origin permissions. The vulnerability requires high attack complexity and affects only clients explicitly configured with webOrigins set to "*", resulting in a low-severity information disclosure with limited real-world exploitability.

RemediationAI

Patch status and exact remediation version numbers are not provided in available data. Administrators should immediately consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-37977 and the corresponding Bugzilla report at https://bugzilla.redhat.com/show_bug.cgi?id=2455324 for patched version availability and deployment guidance. As an interim mitigation, clients should immediately revise their webOrigins configuration from the permissive wildcard value "*" to an explicit, restricted list of legitimate origins required for application functionality. This configuration change eliminates the attack surface by restoring proper same-origin policy enforcement and should be implemented independently of patch availability.

Affected Packages

maven org.keycloak:keycloak-services fix: 26.4.13, 26.6.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in Keycloak's UMA token endpoint implementation, which handles Cross-Origin Resource Sharing (CORS) header processing. The root cause is a violation of CWE-346 (Origin Validation Error) where the Access-Control-Allow-Origin response header is populated using the azp (authorized party) claim extracted from a client-supplied JWT before the JWT's cryptographic signature is validated. Keycloak processes the JWT payload and reflects the attacker-controlled azp claim value directly into the CORS header, then subsequently rejects the grant due to signature validation failure. This ordering allows CORS origin poisoning even though the ultimate authorization request fails. The attack surface is limited to deployments where Keycloak clients are configured with webOrigins: ["*"], which disables standard same-origin policy restrictions for that client.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Red Hat 3.7 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

3
Severity Changed
Jun 10, 2026 - 22:22 NVD
LOW MEDIUM
CVSS changed
Jun 10, 2026 - 22:22 NVD
3.7 (LOW) 5.3 (MEDIUM)
CVE Published
Apr 06, 2026 - 08:38 nvd
LOW 3.7

DescriptionNVD

A flaw was found in Keycloak. A remote attacker can exploit a Cross-Origin Resource Sharing (CORS) header injection vulnerability in Keycloak's User-Managed Access (UMA) token endpoint. This flaw occurs because the azp claim from a client-supplied JSON Web Token (JWT) is used to set the Access-Control-Allow-Origin header before the JWT signature is validated. When a specially crafted JWT with an attacker-controlled azp value is processed, this value is reflected as the CORS origin, even if the grant is later rejected. This can lead to the exposure of low-sensitivity information from authorization server error responses, weakening origin isolation, but only when a target client is misconfigured with webOrigins: ["*"].

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 50 maven packages depend on org.keycloak:keycloak-services (22 direct, 28 indirect)

Ecosystem-wide dependent count for version 26.5.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy