CVE-2024-39330: djangoproject django
Vulnerability summary
CVE-2024-39330 is a medium (CVSS 4.3) vulnerability in djangoproject django. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 63.1% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 13Timeline
- 10-07-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
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.)
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.01% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- py3-django< 4.2.16-r0
Chainguard1 product
- py3-django< 5.0.7-r0
Debian1 product
- python-django< 3:3.2.25-0+deb12u1 | < 3:4.2.14-1
Djangoproject1 product
- django≥ 4.2, < 4.2.14 | ≥ 5.0, < 5.0.7
Opensuse1 product
- python-django-storages&distro=openSUSE Tumbleweed< 1.14.6-1.1
PyPI1 product
- django≥ 5.0, < 5.0.7 | ≥ 4.2, < 4.2.14
Ubuntu1 product
- python-djangoAll versions (No fix recorded) | < 1:1.11.11-1ubuntu1.21+esm5 | < 2:2.2.12-1ubuntu0.23 | < 2:3.2.12-2ubuntu1.12 | < 3:4.2.11-1ubuntu1.1
Wolfi1 product
- py3-django< 5.0.7-r0
8 vendors · 8 products
References
21 links- github.com/django/djangoPACKAGE