{"cve":"CVE-2021-45452","nvd":{"published":"2022-01-05T00:15:07.997","modified":"2026-06-17T04:13:23.827","status":"Modified","description":"Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://docs.djangoproject.com/en/4.0/releases/security/","https://groups.google.com/forum/#%21forum/django-announce","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/","https://security.netapp.com/advisory/ntap-20220121-0005/","https://www.djangoproject.com/weblog/2022/jan/04/security-releases/"],"products":["djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-45452","score":0.02588,"percentile":0.85269,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-jrh2-hc4r-7jwx","url":"https://osv.dev/vulnerability/GHSA-jrh2-hc4r-7jwx","summary":"Directory-traversal in Django","modified":"2024-09-20T12:22:54.101910Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.26"],"fixed":["2.2.26"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.0 <4.0.1"],"fixed":["4.0.1"]}]},{"id":"PYSEC-2022-3","url":"https://osv.dev/vulnerability/PYSEC-2022-3","summary":"","modified":"2023-12-06T01:01:43.819827Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.26",">=3.2 <3.2.11",">=4.0 <4.0.1"],"fixed":["2.2.26","3.2.11","4.0.1"]}]}],"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."]}