Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-64459

published critical CVSS 3.1 · 9.1

Potential SQL injection via _connector keyword argument in QuerySet and Q objects

Published
05 Nov 2025, 15:09:58 UTC
Updated
26 Feb 2026, 17:47:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
djangoproject — djangoDjango · 5.2 to < 5.2.8 (affected · semver) · 5.2.8 (unaffected · semver) · 5.1 to < 5.1.14 (affected · semver) · 5.1.14 (unaffected · semver) · 4.2 to < 4.2.26 (affected · semver) · 4.2.26 (unaffected · semver) · Other versions: unaffected Version-specific Not stated DSF
Alpine Linux edge py3-django Fixed 4.2.26-r0 Package fix record
Debian bookworm python-django Advisory build 3:3.2.25-0+deb12u1 DSA-6136-1
SUSE / openSUSE SLE-15-SP6 python311-Djangonoarch Advisory build 4.2.11-150600.3.41.1 SUSE-SU-2025:4100-1
Ubuntu focal python-django Advisory build 2:2.2.12-1ubuntu0.29+esm5 USN-7859-1
Alpine Linux v3.22 py3-django Fixed 4.2.26-r0 Package fix record
Alpine Linux v3.23 py3-django Fixed 4.2.26-r0 Package fix record
Alpine Linux v3.24 py3-django Fixed 4.2.26-r0 Package fix record
Show 52 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye python-django Advisory build 2:2.2.28-1~deb11u10 DLA-4425-1
Debian trixie python-django Advisory build 3:4.2.27-0+deb13u1 DSA-6117-1
SUSE / openSUSE SLE-15-SP7 python311-Djangonoarch Advisory build 4.2.11-150600.3.41.1 SUSE-SU-2025:4100-1
SUSE / openSUSE openSUSE-Leap-15.6 python311-Djangonoarch Advisory build 4.2.11-150600.3.41.1 SUSE-SU-2025:4100-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Djangonoarch Advisory build 5.2.4-bp160.4.1 OPENSUSE-SU-2025:20153-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoaarch64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoppc64le Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangos390x Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangox86_64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4aarch64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4ppc64le Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4s390x Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4x86_64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoaarch64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoppc64le Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangos390x Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangox86_64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4aarch64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4ppc64le Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4s390x Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4x86_64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6aarch64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6ppc64le Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6s390x Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6x86_64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoaarch64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoppc64le Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangos390x Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangox86_64 Advisory build 5.2.8-1.1 OPENSUSE-SU-2025:15712-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4aarch64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4ppc64le Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4s390x Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4x86_64 Advisory build 4.2.26-1.1 OPENSUSE-SU-2025:15708-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6aarch64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6ppc64le Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6s390x Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6x86_64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
Ubuntu focal python3-django Advisory build 2:2.2.12-1ubuntu0.29+esm5 USN-7859-1
Ubuntu jammy python-django Advisory build 2:3.2.12-2ubuntu1.23 USN-7859-1
Ubuntu jammy python3-django Advisory build 2:3.2.12-2ubuntu1.23 USN-7859-1
Ubuntu noble python-django Advisory build 3:4.2.11-1ubuntu1.12 USN-7859-1
Ubuntu noble python3-django Advisory build 3:4.2.11-1ubuntu1.12 USN-7859-1
Ubuntu questing python-django Advisory build 3:5.2.4-1ubuntu2.1 USN-7859-1
Ubuntu questing python3-django Advisory build 3:5.2.4-1ubuntu2.1 USN-7859-1

Description

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.

en · DSF · cna

Vendor advisories explicitly linked to this CVE.

19

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
djangoproject Django 5.2 to < 5.2.8 (affected · semver)5.2.8 (unaffected · semver)5.1 to < 5.1.14 (affected · semver)5.1.14 (unaffected · semver)4.2 to < 4.2.26 (affected · semver)4.2.26 (unaffected · semver)Default: unaffected DSF · cna

Weaknesses

1
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (DSF · cna)

References

4

Provider assertions

3

DSF · cna

Potential SQL injection via _connector keyword argument in QuerySet and Q objects

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f8544a64a126ba51321896ddc23a936584c130a2df96cbdb4352f990a09c562b
Ingested
23 Sep 2026, 08:56:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected