CVE-2025-64459
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Potential SQL injection via _connector keyword argument in QuerySet and Q objects
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Django
- Vendor
- djangoproject
- Product
- Django
- Platforms
- Unknown
- Default status
unaffected- Package
- django
- Package collection
- https://pypi.org/project/Django/
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.2 | affected | semver | 5.2.8 | Unavailable | None listed |
| 5.2.8 | unaffected | semver | Unavailable | Unavailable | None listed |
| 5.1 | affected | semver | 5.1.14 | Unavailable | None listed |
| 5.1.14 | unaffected | semver | Unavailable | Unavailable | None listed |
| 4.2 | affected | semver | 4.2.26 | Unavailable | None listed |
| 4.2.26 | unaffected | semver | Unavailable | Unavailable | None listed |