{"cve":"CVE-2021-20202","nvd":{"published":"2021-05-12T15:15:07.597","modified":"2026-06-17T03:33:27.803","status":"Modified","description":"A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3},"cwes":["CWE-377"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1922128","https://bugzilla.redhat.com/show_bug.cgi?id=1922128"],"products":["redhat:keycloak"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-20202","score":0.00299,"percentile":0.2265,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-6xp6-fmc8-pmmr","url":"https://osv.dev/vulnerability/GHSA-6xp6-fmc8-pmmr","summary":"Temporary Directory Hijacking Vulnerability in Keycloak","modified":"2023-11-08T04:04:35.526388Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<13.0.0"],"fixed":["13.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}