{"id":"CVE-2021-3856","aliases":["GHSA-3w4v-rvc4-2xpw"],"url":"https://o3.security/vulnerability/CVE-2021-3856","summary":"Keycloak has Files or Directories Accessible to External Parties","details":"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.","published":"2022-08-26T16:15:09.570Z","modified":"2026-08-07T16:57:32.531638Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","fixedVersion":"15.1.0"}],"fix":{"url":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743","label":"keycloak/keycloak@73f0474"},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-3856"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164"},{"type":"REPORT","url":"https://issues.redhat.com/browse/KEYCLOAK-19422"},{"type":"FIX","url":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743"},{"type":"FIX","url":"https://github.com/keycloak/keycloak/pull/8588"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:57:32.531638Z"}}