Loading advisory.
Loading advisory.
Django SQL injection in HasKey(lhs, rhs) on Oracle
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value.
Published 2024-12-06 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 | >= 5.0.0, < 5.0.10 >= 5.1.0, < 5.1.4 >= 4.2.0, < 4.2.17 >= 5.1, < 5.1.4 >= 5.0, < 5.0.10 >= 4.2, < 4.2.17 versions 5.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.1, 5.1.1, 5.1.2, 5.1.3, 4.2, 4.2.1, 4.2.10, 4.2.11, 4.2.12, 4.2.13 and 11 more | 5.0.10, 5.1.4, 4.2.17 | pip install --upgrade 'django>=5.0.10'pip install --upgrade 'django>=5.1.4'pip install --upgrade 'django>=4.2.17' |
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.014 on 2026-11-24 to 0.019 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.014 | first score | v2026.06.15 |
| 2026-11-26 | 0.019 | 0.014 | v2026.06.15 |