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.3%top 83%

CVE-2026-37977: Origin Validation Error in Red Hat Red Hat build of Keycloak 26.4

0
Low
VulnerabilityCVE-2026-37977cvecve-2026-37977
Published: 04/06/2026 (04/06/2026, 08:38:36 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat build of Keycloak 26.4

Description

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

CVSS v3.1

Score 3.7low

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 11:23:06 UTC

Technical Analysis

This vulnerability in Red Hat build of Keycloak 26.4 allows a remote attacker to inject a malicious origin into the Access-Control-Allow-Origin header via the 'azp' claim in a JWT before signature validation. Because the origin is reflected even if the JWT grant is later rejected, it can weaken origin isolation and lead to exposure of low-sensitivity information from error responses. The issue requires a misconfiguration where the client has webOrigins set to ['*']. The CVSS score is 3.7 (low severity). The vendor advisory indicates no explicit patch or fix currently available for this specific issue but references updated Keycloak 26.6.3 images addressing multiple vulnerabilities including this one. However, no direct fix for this CVE is explicitly stated in the advisory, and the remediation level is not provided. The vulnerability is not in a cloud service, and no known exploits are reported in the wild.

Potential Impact

The impact is limited to potential exposure of low-sensitivity information from authorization server error responses due to weakened origin isolation caused by CORS header injection. There is no impact on integrity or availability. Exploitation requires a misconfigured client with webOrigins set to ['*'], which is not a default or recommended configuration. The CVSS vector indicates network attack vector, high attack complexity, no privileges required, no user interaction, and only confidentiality impact (low).

Mitigation Recommendations

The vendor advisory does not explicitly state a patch or official fix for this vulnerability. However, updated Red Hat build of Keycloak 26.6.3 images are available that address multiple security issues including this one. Users should upgrade to Red Hat build of Keycloak 26.6.3 or later to obtain these fixes. Additionally, clients should avoid misconfiguration by not setting webOrigins to ['*'], thereby reducing exposure to this vulnerability. Back up existing installations before applying updates. Monitor the vendor advisory for any future updates or patches specific to this issue.

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-04-06T07:48:39.721Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-37977","vendor":"Red Hat"}]

Threat ID: 69d372ac0a160ebd9293290b

Added to database: 04/06/2026, 08:45:32 UTC

Last enriched: 07/16/2026, 11:23:06 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 127

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