{"cve":"CVE-2021-33203","nvd":{"published":"2021-06-08T18:15:08.480","modified":"2026-06-17T03:54:20.903","status":"Modified","description":"Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9},"cwes":["CWE-22"],"references":["https://docs.djangoproject.com/en/3.2/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-20210727-0004/","https://www.djangoproject.com/weblog/2021/jun/02/security-releases/"],"products":["djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-33203","score":0.02737,"percentile":0.86123,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-68w8-qjq3-2gfm","url":"https://osv.dev/vulnerability/GHSA-68w8-qjq3-2gfm","summary":"Path Traversal in Django","modified":"2024-09-20T15:46:52.557962Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<2.2.24"],"fixed":["2.2.24"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.0 <3.1.12"],"fixed":["3.1.12"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2 <3.2.4"],"fixed":["3.2.4"]}]},{"id":"PYSEC-2021-98","url":"https://osv.dev/vulnerability/PYSEC-2021-98","summary":"","modified":"2023-12-06T01:01:16.755410Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<2.2.24",">=3.0 <3.1.12",">=3.2 <3.2.4"],"fixed":["2.2.24","3.1.12","3.2.4"]}]}],"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."]}