Path traversal in keycloak
Priority LOW 22CWE-552Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-552.
Summary
ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.
Why it matters now
EPSS 0.01158 67th percentileScored 2026-11-07
Fix Partial org.keycloak:keycloak-core (Maven): 15.1.0Red Hat: 2 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | Fixed in 15.1.0 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-core (Maven) | before 15.1.0 | 15.1.0 | Patch available | GHSA-3w4v-rvc4-2xpw |
- keycloak Vendor— Affected Fixed in 15.1.0 Fixed in — No fix listed CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected before 15.1.0 Fixed in 15.1.0 Patch available GHSA-3w4v-rvc4-2xpw
Remediation
- Fix · GHSA-3w4v-rvc4-2xpw org.keycloak:keycloak-core (Maven) Fixed in 15.1.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat A-MQ Online | Affected | No fix planned: Out of support scope |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | — |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | — |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3856
- 2026-10-03 Alias added: GHSA-3w4v-rvc4-2xpw
References
Patch 2
Advisory 4
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2021-3856 · CVE Program
- CVE-2021-3856 · NVD
- FIRST EPSS
- GHSA-3w4v-rvc4-2xpw · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3856 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences