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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-django | Oct 3, 2025 | Oct 1, 2025 |
| Debian | — | Upgrade python-django | Oct 10, 2025 | Oct 10, 2025 |
| Freebsd | — | Upgrade py310-django42Upgrade py310-django52Upgrade py39-django42Upgrade py311-django51Upgrade py311-django52Upgrade py311-django42Upgrade py310-django51 | Dec 10, 2025 | Oct 2, 2025 |
| Suse | — | Upgrade python3-djangoUpgrade python311-DjangoUpgrade python313-Django | Dec 5, 2025 | Oct 2, 2025 |
| Ubuntu | — | Upgrade python3-djangoUpgrade python-django (Ubuntu Pro)Upgrade python3-django (Ubuntu Pro) | Oct 2, 2025 | Oct 1, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub