Loading advisory.
Loading advisory.
Django is subject to SQL injection through its column aliases
An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the kwargs passed QuerySet.annotate() or QuerySet.alias().
Published 2025-09-03 00:00 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| django | PyPI | < 4.2.24 >= 5.0a1, < 5.1.12 >= 5.2a1, < 5.2.6 >= 4.2, < 4.2.24 >= 5.1, < 5.1.12 >= 5.2, < 5.2.6 versions 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.10, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.10a1, 1.10b1 and 382 more | 4.2.24, 5.1.12, 5.2.6 | pip install --upgrade 'django>=4.2.24'pip install --upgrade 'django>=5.1.12'pip install --upgrade 'django>=5.2.6' |
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.271 on 2026-11-24 to 0.008 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.271 | first score | v2026.06.15 |
| 2026-11-26 | 0.008 | 0.271 | v2026.06.15 |