DEBIAN-CVE-2026-1287

Source
https://security-tracker.debian.org/tracker/CVE-2026-1287
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1287.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-1287
Upstream
Downstream
Published
2026-02-03T15:16:13Z
Modified
2026-09-01T16:06:27Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

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+deb12u2

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
3:3.2.25-0+deb12u1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1287.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.28-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
3:4.2.27-0+deb13u1
3:4.2.27-1
3:4.2.27-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-1287.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.28-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
3:4.2.26-1
3:4.2.27-1
3:4.2.27-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

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