Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-57833

published high CVSS 3.1 · 7.1

django: Django SQL injection in FilteredRelation column aliases

Title from Red Hat VEX

Published
03 Sep 2025, 00:00:00 UTC
Updated
04 Nov 2025, 21:13:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
djangoproject — Django4.2 to < 4.2.24 · 5.1 to < 5.1.12 · 5.2 to < 5.2.6 · Other versions: unknown Affected Not stated mitre
Alpine Linux edge py3-django Fixed 4.2.24-r0 Package fix record
Debian bookworm python-django Advisory build 3:3.2.25-0+deb12u1 DSA-6136-1
SUSE / openSUSE SLE-15-SP6 python311-Djangonoarch Advisory build 4.2.11-150600.3.30.1 SUSE-SU-2025:03074-1
Ubuntu focal python-django Advisory build 2:2.2.12-1ubuntu0.29+esm3 USN-7736-1
Alpine Linux v3.22 py3-django Fixed 4.2.24-r0 Package fix record
Alpine Linux v3.23 py3-django Fixed 4.2.24-r0 Package fix record
Alpine Linux v3.24 py3-django Fixed 4.2.24-r0 Package fix record
Show 49 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye python-django Advisory build 2:2.2.28-1~deb11u8 DLA-4301-1
Debian trixie python-django Advisory build 3:4.2.27-0+deb13u1 DSA-6117-1
SUSE / openSUSE SLE-15-SP7 python311-Djangonoarch Advisory build 4.2.11-150600.3.30.1 SUSE-SU-2025:03074-1
SUSE / openSUSE openSUSE-Leap-15.6 python311-Djangonoarch Advisory build 4.2.11-150600.3.30.1 SUSE-SU-2025:03074-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoaarch64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoppc64le Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangos390x Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangox86_64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4aarch64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4ppc64le Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4s390x Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4x86_64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoaarch64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoppc64le Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangos390x Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangox86_64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4aarch64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4ppc64le Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4s390x Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4x86_64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6aarch64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6ppc64le Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6s390x Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6x86_64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoaarch64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoppc64le Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangos390x Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangox86_64 Advisory build 5.2.6-1.1 OPENSUSE-SU-2025:15527-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4aarch64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4ppc64le Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4s390x Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4x86_64 Advisory build 4.2.24-1.1 OPENSUSE-SU-2025:15528-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6aarch64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6ppc64le Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6s390x Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6x86_64 Advisory build 6.0-1.1 OPENSUSE-SU-2026:10005-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
Ubuntu focal python3-django Advisory build 2:2.2.12-1ubuntu0.29+esm3 USN-7736-1
Ubuntu jammy python-django Advisory build 2:3.2.12-2ubuntu1.21 USN-7736-1
Ubuntu jammy python3-django Advisory build 2:3.2.12-2ubuntu1.21 USN-7736-1
Ubuntu noble python-django Advisory build 3:4.2.11-1ubuntu1.10 USN-7736-1
Ubuntu noble python3-django Advisory build 3:4.2.11-1ubuntu1.10 USN-7736-1

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

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
mitre · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
djangoproject Django 4.2 to < 4.2.24 (affected · custom)5.1 to < 5.1.12 (affected · custom)5.2 to < 5.2.6 (affected · custom)Default: unknown mitre · cna

Weaknesses

1
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (mitre · cna)

References

6

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
a4336f3b81167979272b0910d25057834fd7400d77a1ffd4c58e767a0310a16b
Ingested
23 Sep 2026, 08:53:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected