Vulnerability record · CVE-2021-3856 · published 26 August 2022
CVE-2021-3856: Redhat keycloak path traversal vulnerability
Redhat · Keycloak
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3856 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2010164 | Issue TrackingVendor Advisory |
| https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743 | PatchThird Party Advisory |
| https://github.com/keycloak/keycloak/pull/8588 | PatchThird Party Advisory |
| https://issues.redhat.com/browse/KEYCLOAK-19422 | Permissions RequiredVendor Advisory |
| https://access.redhat.com/security/cve/CVE-2021-3856 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2010164 | Issue TrackingVendor Advisory |
| https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743 | PatchThird Party Advisory |
| https://github.com/keycloak/keycloak/pull/8588 | PatchThird Party Advisory |
| https://issues.redhat.com/browse/KEYCLOAK-19422 | Permissions RequiredVendor Advisory |
Track CVE-2021-3856 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3856), CISA KEV, FIRST EPSS (scores of 2026-11-20). This page is refreshed as NVD updates the record.