PT-2025-40291 · Django+4 · Django+4
Stackered
·
Published
2025-10-01
·
Updated
2026-01-03
·
CVE-2025-59682
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Django versions 4.2 through 4.2.24
Django versions 5.1 through 5.1.12
Django versions 5.2 through 5.2.6
Description
The
django.utils.archive.extract() function allows for potential directory traversal when handling archives with file paths that share a common prefix with the target directory. This issue affects the "startapp --template" and "startproject --template" commands.Recommendations
Update to Django version 4.2.25 or later.
Update to Django version 5.1.13 or later.
Update to Django version 5.2.7 or later.
Fix
Relative Path Traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Django
Linuxmint
Red Os
Ubuntu