Loading advisory.
Loading advisory.
Django has an SQL Injection issue
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.
Published 2026-02-03 14:35 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| django | PyPI | >= 6.0a1, < 6.0.2 >= 5.2a1, < 5.2.11 >= 4.2a1, < 4.2.28 >= 4.2, < 4.2.28 >= 5.2, < 5.2.11 >= 6.0, < 6.0.2 versions 6.0, 6.0.1, 6.0a1, 6.0b1, 6.0rc1, 5.2, 5.2.1, 5.2.10, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8, 5.2.9, 5.2a1, 5.2b1, 5.2rc1, 4.2 and 30 more | 6.0.2, 5.2.11, 4.2.28 | pip install --upgrade 'django>=6.0.2'pip install --upgrade 'django>=5.2.11'pip install --upgrade 'django>=4.2.28' |
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.128 on 2026-11-24 to 0.019 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.128 | first score | v2026.06.15 |
| 2026-11-26 | 0.019 | 0.128 | v2026.06.15 |