Vulnerability
CVE-2025-64459
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.
24 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
ALPINE-CVE-2025-64459
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…
- ALPINE-EDGE-CVE-2025-64459
-
DEBIAN-CVE-2025-64459
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…
-
DLA-4425-1
python-django - security update
-
DSA-6117-1
python-django - security update
-
DSA-6136-1
python-django - security update
-
GHSA-frmv-pr5f-9mcr
Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
-
OESA-2025-2676
python-django security update
-
OESA-2025-2677
python-django security update
-
OESA-2025-2678
python-django security update
-
OESA-2025-2679
python-django security update
-
OESA-2025-2680
python-django security update
-
OESA-2026-1206
python-django security update
-
PYSEC-2025-108
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…
-
RHSA-2025:23069
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2025:23070
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
SUSE-SU-2025:4100-1
Security update for python-Django
-
UBUNTU-CVE-2025-64459
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…
-
USN-7859-1
python-django vulnerabilities
-
openSUSE-SU-2025:15708-1
python311-Django4-4.2.26-1.1 on GA media
-
openSUSE-SU-2025:15712-1
python311-Django-5.2.8-1.1 on GA media
-
openSUSE-SU-2025:20153-1
Security update for python-Django
-
openSUSE-SU-2026:10005-1
python312-Django6-6.0-1.1 on GA media
-
openSUSE-SU-2026:11270-1
python313-Django5-5.2.16-1.1 on GA media