Alerts This Week
Warning Icon 1 764
Alerts This Week
Warning Icon 1 764

Debian: Moderate SQL Injection and Directory Traversal in python-django

debian lts
Calendar Grey October 8, 2025
Dist Debian Esm H88
Two vulnerabilities found in python-django: SQL injection and partial directory-traversal vulnerability addressed in this advisory.
It was discovered that there were two vulnerabilities in Django, a popular web development framework: * CVE-2025-59681: Fix a potential SQL injection in

Summary

* CVE-2025-59681: Fix a potential SQL injection in
QuerySet.annotate(), alias(), aggregate() and extra(). These
methods were subject to SQL injection in column aliases, using a
suitably crafted dictionary via dictionary expansion as the
**kwargs passed to these methods on MySQL and MariaDB.

* CVE-2025-59682: Fix a potential partial directory-traversal
vulnerability in archive.extract(). This function, used by
startapp --template and startproject --template allowed partial
directory-traversal via an archive with file paths sharing a
common prefix with the target directory.

For Debian 11 bullseye, these problems have been fixed in version
2:2.2.28-1~deb11u9.

We recommend that you upgrade your python-django packages.

For the detailed security status of python-django please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/python-django

Further information about Debian LTS security advisories, how to apply

Read the Full Advisory


Package: python-django
Version: 2:2.2.28-1~deb11u9
Debian Bug: 1116979

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here