Feed
6.5MEDIUM

CVE-2025-59682Django vulnerable to partial directory traversal via archives

A medium-severity vulnerability reachable over the network, needing low privileges and no user interaction. EPSS estimates a 1.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.2%
percentile 67%
Priority
19/100 low
how it is computed
Fix
Named by a source
CVE published 1 Oct 2025

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.2% (+1) · Network attack vector (+10) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 4.2, < 4.2.25Fixed in4.2.25OSV (PYSEC-2026-1296)
    • Affected>= 5.1, < 5.1.13Fixed in5.1.13OSV (PYSEC-2026-1296)
    • Affected>= 5.2, < 5.2.7Fixed in5.2.7OSV (PYSEC-2026-1296)
  • djangoproject django product:djangoproject/django

    • Affected>= 4.2, < 4.2.25Affected range ends before4.2.25as published by CNA (CVE List)
    • Affected>= 5.1, < 5.1.13Affected range ends before5.1.13as published by CNA (CVE List)
    • Affected>= 5.2, < 5.2.7Affected range ends before5.2.7as published by CNA (CVE List)
    • Affected>= 4.2.0, < 4.2.25Affected range ends before4.2.25as published by CPE data (via the NVD API)
    • Affected>= 5.1, < 5.1.13Affected range ends before5.1.13as published by CPE data (via the NVD API)
    • Affected>= 5.2, < 5.2.7Affected range ends before5.2.7as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
6.5 MEDIUM (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Weakness
CWE-23
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 1 Oct 2025Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 38 min ago · osv 38 min ago · nvd 7 min ago · epss 38 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2025-59682, GHSA-q95w-c7qg-hrff, PYSEC-2026-1296