djangoproject Django
At a glance
- Source
- NVD
- EPSS
- EPSS 0.93 % Β· percentile 61 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
Description
An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, used by the "startapp --template" and "startproject --template" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory.
Weaknesses (CWE)
- CWE-23 β Relative Path Traversal
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | mitre |
| CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD Β· cve@mitre.org (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-q95w-c7qg-hrff β Django vulnerable to partial directory traversal via archives
- PYSEC-2026-1296 β Django vulnerable to partial directory traversal via archives
European references
- ENISA EUVD Β· EUVD-2025-32692
- GCVE Β· GCVE-0-2025-59682
Affected configurations (NVD CPE)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 4.2.0 < 4.2.25cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 5.1 < 5.1.13cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*β₯ 5.2 < 5.2.7
Affected products
| Product | Versions |
|---|---|
| djangoproject Β· Django | affected 4.2 < 4.2.25 ; affected 5.1 < 5.1.13 ; affected 5.2 < 5.2.7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |