CVE-2025-57833
python-django - security update
7.1
HIGH
CVSS 3.1
EPSS 0.07%
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().
How to fix CVE-2025-57833
To remediate CVE-2025-57833, upgrade the affected package to a fixed version below.
- —upgrade to 4.2.24 or later
- —upgrade to 2:2.2.28-1~deb11u8 or later
- —upgrade to 2:2.2.28-1~deb11u8 or later
- —upgrade to 4.2.24 or later
- —upgrade to 4.2.24 or later
Is CVE-2025-57833 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 4.2.0, < 4.2.24, >= 5.1.0, < 5.1.12, >= 5.2.0, < 5.2.6
- from 0, < 2:2.2.28-1~deb11u8
- from 0, < 2:2.2.28-1~deb11u8
- from 0, < 4.2.24
- >= 4.2, < 4.2.24, >= 5.1, < 5.1.12, >= 5.2, < 5.2.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N |