Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Django versions 4.2 before 4.2.14 and 5.0 before 5.0.7 are vulnerable to directory traversal. Subclasses of Django's Storage base class that override generate_filename() without repeating the parent's file-path validation can let crafted input during a save() call write files outside the intended directory. Built-in Storage subclasses are not affected. Upgrade to Django 4.2.14 or 5.0.7, or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.010, the 63rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-9jmf-237g-qf46
- OSV: GHSA-9jmf-237g-qf46
- nvd.nist.gov/vuln/detail/CVE-2024-39330
- github.com/django/django/commit/2b00edc0151a660d1eb86da4059904a0fc4e095e
- github.com/django/django/commit/9f4f63e9ebb7bf6cb9547ee4e2526b9b96703270
- docs.djangoproject.com/en/dev/releases/security
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-58.yaml
- groups.google.com/forum/#%21forum/django-announce
- security.netapp.com/advisory/ntap-20240808-0005
- www.djangoproject.com/weblog/2024/jul/09/security-releases