PT-2025-35820 · Django+4 · Django+4
Eyal Gabay
+1
·
Published
2025-03-09
·
Updated
2026-03-10
·
CVE-2025-57833
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Django versions prior to 4.2.24
Django versions prior to 5.1.12
Django versions prior to 5.2.6
Description
An issue was discovered in Django’s FilteredRelation feature, leading to SQL injection in column aliases when using a crafted dictionary with dictionary expansion as the
**kwargs passed to QuerySet.annotate() or QuerySet.alias(). This vulnerability allows attackers to potentially manipulate queries and access sensitive data. Approximately 8.4 million services are estimated to be affected yearly.Recommendations
Django versions prior to 4.2.24: Upgrade to version 4.2.24 or later.
Django versions prior to 5.1.12: Upgrade to version 5.1.12 or later.
Django versions prior to 5.2.6: Upgrade to version 5.2.6 or later.
Exploit
Fix
RCE
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Django
Linuxmint
Red Os
Ubuntu