CVE-2026-37977
mediumpriority · track · 21EPSS 0.003 · 17 %ileDEEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0970Keycloak: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2026-04-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Keycloak ausnutzen, um Informationen offenzulegen.
- GHSA-5v8v-xvjv-57x7Keycloak vulnerable to information disclosure via CORS header injection due to unvalidated JWT azp claim2026-04-06ghsa · osvUS
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: ["*"]`.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-37977cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2455324cnnvd
- https://access.redhat.com/errata/RHSA-2026:25097enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:25098enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:30049enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:30050enisa_euvd
- https://access.redhat.com/security/cve/CVE-2026-37977enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2455324enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan