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 |
| Exploit ScenarioDerived | An attacker crafts a malicious JWT with an |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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- 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-19201
GHSA-5v8v-xvjv-57x7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB