ADVISORIES

Ubuntu Security Notice

USN-7794-1

python-django vulnerabilities

Details

It was discovered that Django incorrectly handled special characters in the QuerySet function calls. A remote attacker could possibly use this issue to perform SQL injection attacks. (CVE-2025-59681)

It was discovered that Django incorrectly handled files with the same path prefix when starting with a template. An attacker could possibly use this issue to obtain sensitive information. (CVE-2025-59682)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-django
All versions before 1.6.11-0ubuntu1.3+esm8 (fixed in 1.6.11-0ubuntu1.3+esm8)
Ubuntu:Pro:16.04:LTSpython-django
All versions before 1.8.7-1ubuntu5.15+esm9 (fixed in 1.8.7-1ubuntu5.15+esm9)
Ubuntu:Pro:18.04:LTSpython-django
All versions before 1:1.11.11-1ubuntu1.21+esm12 (fixed in 1:1.11.11-1ubuntu1.21+esm12)
Ubuntu:Pro:20.04:LTSpython-django
All versions before 2:2.2.12-1ubuntu0.29+esm4 (fixed in 2:2.2.12-1ubuntu0.29+esm4)
Ubuntu:22.04:LTSpython-django
All versions before 2:3.2.12-2ubuntu1.22 (fixed in 2:3.2.12-2ubuntu1.22)
Ubuntu:24.04:LTSpython-django
All versions before 3:4.2.11-1ubuntu1.11 (fixed in 3:4.2.11-1ubuntu1.11)

References