CVE-2026-1287
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Potential SQL injection in column aliases via control characters
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `FilteredRelation` is subject to SQL injection in column aliases via control characters, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet` methods `annotate()`, `aggregate()`, `extra()`, `values()`, `values_list()`, and `alias()`. 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 Solomon Kebede 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) |
|---|---|---|---|---|---|
| 6.0 | affected | semver | 6.0.2 | Unavailable | None listed |
| 6.0.2 | unaffected | semver | Unavailable | Unavailable | None listed |
| 5.2 | affected | semver | 5.2.11 | Unavailable | None listed |
| 5.2.11 | unaffected | semver | Unavailable | Unavailable | None listed |
| 4.2 | affected | semver | 4.2.28 | Unavailable | None listed |
| 4.2.28 | unaffected | semver | Unavailable | Unavailable | None listed |