{"id":"CVE-2024-39330","aliases":["BIT-django-2024-39330","GHSA-9jmf-237g-qf46","PYSEC-2024-58"],"url":"https://o3.security/vulnerability/CVE-2024-39330","summary":"Django Path Traversal vulnerability","details":"An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base class, when they override generate_filename() without replicating the file-path validations from the parent class, potentially allow directory traversal via certain inputs during a save() call. (Built-in Storage sub-classes are unaffected.)","published":"2024-07-10T00:00:00Z","modified":"2026-07-15T10:14:43.705951853Z","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":"PyPI","name":"django","fixedVersion":"5.0.7"},{"ecosystem":"PyPI","name":"django","fixedVersion":"4.2.14"}],"fix":null,"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39330.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39330"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240808-0005/"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2024/jul/09/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T10:14:43.705951853Z"}}