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.)
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-django | Oct 10, 2024 | Jul 10, 2024 |
| Debian | — | Upgrade python-django | May 15, 2025 | Jul 10, 2024 |
| Freebsd | — | Upgrade py310-django50Upgrade py311-django42Upgrade py311-django50Upgrade py310-django42Upgrade py39-django42 | Jul 10, 2024 | Jul 10, 2024 |
| Gentoo Linux | — | Upgrade dev-python/django. | Sep 18, 2025 | Sep 17, 2025 |
| Suse | — | Upgrade python3-djangoUpgrade python311-Django | Jul 18, 2024 | Jul 10, 2024 |
| Ubuntu | — | Upgrade python3-django (Ubuntu Pro)Upgrade python3-djangoUpgrade python-django (Ubuntu Pro) | Jul 10, 2024 | Jul 9, 2024 |
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