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().
History

Wed, 03 Sep 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 03 Sep 2025 20:30:00 +0000

Type Values Removed Values Added
Description 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().
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-03T20:49:02.740Z

Reserved: 2025-08-20T00:00:00.000Z

Link: CVE-2025-57833

cve-icon Vulnrichment

Updated: 2025-09-03T20:48:58.585Z

cve-icon NVD

Status : Received

Published: 2025-09-03T21:15:32.850

Modified: 2025-09-03T21:15:32.850

Link: CVE-2025-57833

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.