PT-2025-35820

CVE-2025-57833

·

Published

2025-03-09

·

Updated

2026-10-13

Description by

CVSS 3.1
8.1
High
MetricsAV: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.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-6W2R-R2M5-XQ5W
BIT-DJANGO-2025-57833
DLA-4301-1
ECHO-7627-A361-B4D3
MGASA-2025-0229
OESA-2025-2231
OESA-2025-2234
OESA-2025-2235
OESA-2025-2236
OESA-2025-2237
OESA-2025-2354
OPENSUSE-SU-2025:15527-1
OPENSUSE-SU-2025:15528-1
OPENSUSE-SU-2026:10005-1
OPENSUSE-SU-2026:11270-1
PYSEC-2025-105
RHSA-2025:16403
RHSA-2025:17498
RHSA-2025:17499
RHSA-2025:17500
RHSA-2025:17614
SUSE-SU-2025:03074-1
USN-7736-1
Found an issue in the description? Have something to add? Feel free to write us 👾