CVE-2025-57833: djangoproject django
Vulnerability summary
CVE-2025-57833 is a high (CVSS 8.1) vulnerability in djangoproject django. EPSS estimates a 27.06% chance of exploitation in the next 30 days, higher than 98% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 3Timeline
- 03-09-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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().
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
27.06%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
Decrease -1.21 pp
From 28.27% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (medium.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat6 products
- python-django< 0:4.2.24-1.el9ap | < 0:2.2.24-12.el9ost | < 0:3.2.12-9.el9ost
- python-django20< 0:2.0.13-20.el8ost
- python3-django< 0:4.2.24-1.el9ap | < 0:2.2.24-12.el9ost | < 0:3.2.12-9.el9ost
- python3-django20< 0:2.0.13-20.el8ost
- python39-django< 0:4.2.24-1.el8ap
Opensuse3 products
- python-Django4&distro=openSUSE Tumbleweed< 4.2.24-1.1
- python-Django&distro=openSUSE Leap 15.6< 4.2.11-150600.3.30.1
- python-Django&distro=openSUSE Tumbleweed< 5.2.6-1.1
Suse2 products
- python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 4.2.11-150600.3.30.1
- python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 4.2.11-150600.3.30.1
Alpine1 product
- py3-django< 4.2.24-r0
Chainguard1 product
- awx< 24.6.1-r14
Debian1 product
- python-django< 2:2.2.28-1~deb11u8 | < 3:3.2.25-0+deb12u1 | < 3:4.2.27-0+deb13u1 | < 3:4.2.24-1
Djangoproject1 product
- django≥ 4.2, < 4.2.24 | ≥ 5.1, < 5.1.12 | ≥ 5.2, < 5.2.6
Mageia1 product
- python-django< 4.1.13-1.6.mga9
PyPI1 product
- django< 4.2.24 | ≥ 5.0a1, < 5.1.12 | ≥ 5.2a1, < 5.2.6 | ≥ 5.2, < 5.2.6
Ubuntu1 product
- python-django< 2:2.2.12-1ubuntu0.29+esm3 | < 2:3.2.12-2ubuntu1.21 | < 3:4.2.11-1ubuntu1.10
10 vendors · 18 products
References
38 linksShow all 38 references
- github.com/django/djangoPACKAGE