Vulnerability in Red Hat Build Of Keycloak
CVE-2026-37977
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: ["*"]`.
EPSS: 0.003 (16.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Red Hat Build Of Keycloak
- Red Hat Build Of Keycloak 26.4 — versions 26.4.13-1, 26.4-19
- Red Hat Build Of Keycloak 26.4.13
- Red Hat Build Of Keycloak 26.6 — versions 26.6-8, 26.6-6, 26.6.3-3
- Red Hat Build Of Keycloak 26.6.3
- Red Hat Build Of Keycloak 26.6.4
- Redhat Build_of_keycloak
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
Frequently asked questions
- What is CVE-2026-37977?
- CVE-2026-37977 is a low-severity vulnerability in Red Hat Build Of Keycloak, classified under Origin Validation Error. CVSS score: 3.7/10. Published 2026-04-06.
- How severe is CVE-2026-37977?
- Low severity. CVSS v3 base score is 3.7 out of 10.