CVE-2026-1207
Potential SQL injection via raster lookups on PostGIS
CVSS v3
5.4
MEDIUM
EPSS Score
12.8 %
exploit probability, as of 2026-10-12
CISA KEV
No
known exploited
Exploitation
none
SSVC status
Get an alert for each new CVE published for django. Watch django in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- djangoPyPIfrom 4.2 · fixed in 4.2.28
- djangoBitnamifrom 4.2.0 · fixed in 4.2.28
Vendor advisories
Django: Django: SQL Injection via RasterField band index parameter
ansible-automation-platform-24/lightspeed-rhel8 as a component of Red Hat Ansible Automation Platform 2 · automation-controller.src as a component of Red Hat Ansible Automation Platform 2 · python-django-bash-completion (satellite-capsule:el8) as a component of Red Hat Satellite 6
Red Hat Security Advisory: Satellite 6.18.5 Async Update
Red Hat Security Advisory: General availability of the satellite/iop-advisor-backend-rhel9 container image
Red Hat Security Advisory: Satellite 6.16.7 Async Update
Red Hat Security Advisory: Satellite 6.17.7 Async Update
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
4 more advisories
Description
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Raster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter. 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 Tarek Nakkouch for reporting this issue.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Published
- 2026-02-03
- Last Modified
- 2026-02-04
Frequently asked questions
What is CVE-2026-1207?
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Raster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter. 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 Tarek Nakkouch for reporting this issue.
Is CVE-2026-1207 actively exploited?
Active exploitation of CVE-2026-1207 has not been confirmed. Its EPSS score was 12.8% on 2026-10-12, the estimated probability of exploitation in the next 30 days.
What is the CVSS score for CVE-2026-1207?
CVE-2026-1207 has a CVSS v3 base score of 5.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
Running django? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE Watch
No credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.