# CVE-2025-57833

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 4.2.24, 5.1.12, 5.2.6 (CNA); fix release not confirmed
- Status: published
- Published: 2025-09-03 · Modified: 2025-11-04
- Aliases: MGASA-2025-0229, SUSE-SU-2025:03074-1, GHSA-6w2r-r2m5-xq5w, BIT-django-2025-57833, PYSEC-2025-105, RHSA-2025:16403, RHSA-2025:17498, RHSA-2025:17499, RHSA-2025:17500, UBUNTU-CVE-2025-57833, USN-7736-1, DEBIAN-CVE-2025-57833, DLA-4301-1, openSUSE-SU-2025:15527-1, openSUSE-SU-2025:15528-1, CGA-4hwj-w29w-5jgp, CGA-m4c5-xg83-fm97, ALPINE-CVE-2025-57833
- Record: https://cvemate.com/vulnerability/CVE-2025-57833 · JSON: https://cvemate.com/vulnerability/CVE-2025-57833/json

## Description

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

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 27.058%, percentile 98.091%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine py3-django (Alpine Linux): \< 4.2.24-r0
- chainguard awx (Chainguard): \< 24.6.1-r14
- debian python-django (Debian): \< 2:2.2.28-1~deb11u8 \| \< 3:3.2.25-0+deb12u1 \| \< 3:4.2.27-0+deb13u1 \| \< 3:4.2.24-1
- ubuntu python-django (Ubuntu): \< 2:2.2.12-1ubuntu0.29+esm3 \| \< 2:3.2.12-2ubuntu1.21 \| \< 3:4.2.11-1ubuntu1.10
- djangoproject django: ≥ 4.2, \< 4.2.24 \| ≥ 5.1, \< 5.1.12 \| ≥ 5.2, \< 5.2.6
- mageia python-django (Mageia): \< 4.1.13-1.6.mga9
- PyPI django (PyPI): \< 4.2.24 \| ≥ 5.0a1, \< 5.1.12 \| ≥ 5.2a1, \< 5.2.6 \| ≥ 5.2, \< 5.2.6
- opensuse python-Django4&distro=openSUSE Tumbleweed (openSUSE): \< 4.2.24-1.1
- opensuse python-Django&distro=openSUSE Leap 15.6 (openSUSE): \< 4.2.11-150600.3.30.1
- opensuse python-Django&distro=openSUSE Tumbleweed (openSUSE): \< 5.2.6-1.1
- redhat python-django (Red Hat): \< 0:4.2.24-1.el9ap \| \< 0:2.2.24-12.el9ost \| \< 0:3.2.12-9.el9ost
- redhat python-django20 (Red Hat): \< 0:2.0.13-20.el8ost
- redhat python3-django (Red Hat): \< 0:4.2.24-1.el9ap \| \< 0:2.2.24-12.el9ost \| \< 0:3.2.12-9.el9ost
- redhat python3-django20 (Red Hat): \< 0:2.0.13-20.el8ost
- redhat python39-django (Red Hat): \< 0:4.2.24-1.el8ap
- redhat python3x-django (Red Hat): \< 0:4.2.24-1.el8ap
- suse python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6 (SUSE Linux Enterprise): \< 4.2.11-150600.3.30.1
- suse python-Django&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7 (SUSE Linux Enterprise): \< 4.2.11-150600.3.30.1

## References (first 20 of 38)

- <https://docs.djangoproject.com/en/dev/releases/security/>
- <https://groups.google.com/g/django-announce>
- <https://www.djangoproject.com/weblog/2025/sep/03/security-releases/>
- <https://medium.com/@EyalSec/django-unauthenticated-0-click-rce-and-sql-injection-using-default-configuration-059964f3f898>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00017.html>
- <http://www.openwall.com/lists/oss-security/2025/09/03/3>
- <https://advisories.mageia.org/MGASA-2025-0229.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34612>
- <https://www.openwall.com/lists/oss-security/2025/09/03/3>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503074-1/>
- <https://bugzilla.suse.com/1248810>
- <https://www.suse.com/security/cve/CVE-2025-57833>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57833>
- <https://github.com/django/django/commit/102965ea93072fe3c39a30be437c683ec1106ef5>
- <https://github.com/django/django/commit/31334e6965ad136a5e369993b01721499c5d1a92>
- <https://github.com/django/django/commit/4c044fcc866ec226f612c475950b690b0139d243>
- <https://docs.djangoproject.com/en/dev/releases/security>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-105.yaml>
- <https://www.djangoproject.com/weblog/2025/sep/03/security-releases>

---

Data as of 2026-12-05T06:22:39.168Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
