8.1

CVE-2025-57833: djangoproject django SQL Injection

CVSS: 8.1v3.1HighModified
AliasesMGASA-2025-0229SUSE-SU-2025:03074-1GHSA-6w2r-r2m5-xq5w
Published 03-09-2025Last modified 04-11-2025

Vulnerability summary

CVE-2025-57833 is a high (CVSS 8.1) SQL Injection vulnerability in djangoproject django. EPSS estimates a 26.11% chance of exploitation in the next 30 days, higher than 97.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
48/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
26.11%
0%100%
High · +10.45 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 8 · Related 3

Timeline

  1. 03-09-2025
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last 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

7 scores · 7 sources · 1 version

EPSS trend

Probability

26.11%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

+10.45 pp

From 15.66% on 19-09-2026

19-09-202619-10-2026
EPSS score
26.11%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (medium.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Redhat6 products
  • python-django< 0:2.2.24-12.el9ost | < 0:3.2.12-9.el9ost | < 0:4.2.24-1.el9ap
  • python-django20< 0:2.0.13-20.el8ost
  • python3-django< 0:2.2.24-12.el9ost | < 0:3.2.12-9.el9ost | < 0:4.2.24-1.el9ap
  • 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
Chainguard1 product
  • awx< 24.6.1-r14
Debian1 product
  • python-django< 3:3.2.25-0+deb12u1 | < 3:4.2.27-0+deb13u1 | < 3:4.2.24-1 | < 2:2.2.28-1~deb11u8
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

9 vendors · 17 products

References

37 links
Show all 37 references