Skip to main content
VulnerabilityPublished Updated

CVE-2025-57833: Python django · An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before

Affects python-djangoSource GCVE Database

0
Compare
Authoritative record:CVE-2025-57833· High 7.1

Not known to be exploited · 27% EPSS · CVSS 7.1 High · fixed in 2:2.2.12-1ubuntu0.29+esm3 : patch python-django soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.17.1
EPSS
27.0% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2:2.2.12-1ubuntu0.29+esm3, 2:3.2.12-2ubuntu1.21, 3:4.2.11-1ubuntu1.10
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu python-django to 2:2.2.12-1ubuntu0.29+esm3 (package) or 2:3.2.12-2ubuntu1.21 (package) or 3:4.2.11-1ubuntu1.10 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threatsAffected
  • <3:4.2.11-1ubuntu1.10
Fixed in
  • 3:4.2.11-1ubuntu1.10
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threatsAffected
  • <2:3.2.12-2ubuntu1.21
Fixed in
  • 2:3.2.12-2ubuntu1.21
Ubuntu Pro 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2:2.2.12-1ubuntu0.29+esm3
Fixed in
  • 2:2.2.12-1ubuntu0.29+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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

References

Community reviews

Loading reviews…