DEBIAN-CVE-2025-64459

Source
https://security-tracker.debian.org/tracker/CVE-2025-64459
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64459.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2025-64459
Upstream
Downstream
Published
2025-11-05T15:15:41Z
Modified
2026-09-01T16:06:20Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The methods QuerySet.filter(), QuerySet.exclude(), and QuerySet.get(), and the class Q(), are subject to SQL injection when using a suitably crafted dictionary, with dictionary expansion, as the _connector argument. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank cyberstan for reporting this issue.

References

Affected packages

Debian:12 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3:3.2.25-0+deb12u1

Affected versions

3:3.*
3:3.2.19-1
3:3.2.19-1+deb12u1~bpo11+1
3:3.2.19-1+deb12u1
3:3.2.19-1+deb12u2
3:3.2.20-1
3:3.2.20-1.1
3:3.2.21-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64459.json"

Debian:13 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3:4.2.27-0+deb13u1

Affected versions

3:4.*
3:4.2.23-1
3:4.2.24-1
3:4.2.25-1
3:4.2.25-2
3:4.2.26-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64459.json"

Debian:14 / python-django

Package

Name
python-django
Purl
pkg:deb/debian/python-django?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3:4.2.26-1

Affected versions

3:4.*
3:4.2.23-1
3:4.2.24-1
3:4.2.25-1
3:4.2.25-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64459.json"