Skip to main content
Report · GCVE DatabaseAbout CVE-2025-57833Published Updated

CVE-2025-57833: Django · Issue Was Discovered

Affects djangoSource GCVE Database

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

Not known to be exploited · 26% EPSS · CVSS 7.1 High · patch available : patch django soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
26.1% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Red Hatredhat/python-djangopkg:rpm/redhat/python-djangoOther threatsAffected
  • =3.2.12-9.el9ost
Fixed in–

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

AI-suggested

Patches are available and should be applied promptly. Users should upgrade Django to versions 4.2.24 or later, 5.1.12 or later, and 5.2.6 or later as appropriate. For Red Hat OpenStack Services on OpenShift 18.0, updated python-django packages are provided. Refer to the Red Hat advisory RHSA-2025:17500 and https://access.redhat.com/articles/11258 for detailed update instructions. No additional mitigation beyond applying the official patches is indicated.

Description

A SQL injection vulnerability exists in Django versions 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. The issue arises in the FilteredRelation feature when column aliases are constructed using a crafted dictionary passed as **kwargs to QuerySet.annotate() or QuerySet.alias(). This vulnerability allows injection via SQL column aliases. Red Hat has issued an important security advisory with patches available to address this issue.

References

Community reviews

Loading reviews…