vulnerability

Ubuntu: (Multiple Advisories) (CVE-2024-39330): Django vulnerabilities

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:P/I:N/A:N)
Published
Jul 9, 2024
Added
Jul 10, 2024
Modified
Apr 16, 2026

Description

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.)

Solutions

ubuntu-pro-upgrade-python-djangoubuntu-pro-upgrade-python3-djangoubuntu-upgrade-python3-django
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.