CVE-2026-37977: redhat build_of_keycloak Origin Validation Error
Vulnerability summary
CVE-2026-37977 is a medium (CVSS 5.3) Origin Validation Error vulnerability in redhat build_of_keycloak. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities.
Timeline
- 06-04-2026PublishedVulnerability first disclosed.
- 26-06-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · MavenEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
+0.02 pp
From 0.25% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard14 products
- keycloak-26.3-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
Wolfi4 products
- keycloak-26.4All versions (No fix recorded)
- keycloak-26.4-iamguarded-compatAll versions (No fix recorded)
- keycloak-26.5All versions (No fix recorded)
- keycloak-26.5-iamguarded-compatAll versions (No fix recorded)
Org.keycloak1 product
- keycloak-services< 26.4.13 | ≥ 26.5.0, < 26.6.3
Redhat1 product
4 vendors · 20 products
References
13 links- github.com/keycloak/keycloakPACKAGE