Skip to main content

Red Hat Build Of Keycloak CVE-2026-37977

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

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
qualitative

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
Severity Changed
Jun 10, 2026 - 22:22 NVD
LOW MEDIUM
CVSS changed
Jun 10, 2026 - 22:22 NVD
3.7 (LOW) 5.3 (MEDIUM)
EUVD ID Assigned
Apr 06, 2026 - 09:00 euvd
EUVD-2026-19201
Analysis Generated
Apr 06, 2026 - 09:00 vuln.today
CVE Published
Apr 06, 2026 - 08:38 nvd
LOW 3.7

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.

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: ["*"].

AnalysisAI

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.

Technical ContextAI

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.

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.

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-18963 CRITICAL
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-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-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-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

CVE-2026-37977 vulnerability details – vuln.today

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