CVE & CISA-KEV Catalog

CVE-2025-13372

MEDIUM
4.3
CVSS v3
NVD

Description

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

How to fix

Remediation Available
python-djangoDebian
Fixed in:3:3.2.25-0+deb12u1CVE-2025-13372
Fixed in:3:4.2.27-0+deb13u1CVE-2025-13372
Fixed in:3:4.2.27-1CVE-2025-13372
python-djangoUbuntu
Fixed in:1.6.11-0ubuntu1.3+esm9USN-7903-1
Fixed in:1.8.7-1ubuntu5.15+esm10USN-7903-1
Fixed in:1:1.11.11-1ubuntu1.21+esm13USN-7903-1
Fixed in:2:2.2.12-1ubuntu0.29+esm6USN-7903-1
Fixed in:2:3.2.12-2ubuntu1.24USN-7903-1
Fixed in:3:4.2.11-1ubuntu1.13USN-7903-1
Fixed in:3:5.2.4-1ubuntu2.2USN-7903-1
python3-djangoUbuntu
Fixed in:1.8.7-1ubuntu5.15+esm10USN-7903-1
Fixed in:1:1.11.11-1ubuntu1.21+esm13USN-7903-1
Fixed in:2:2.2.12-1ubuntu0.29+esm6USN-7903-1
Fixed in:2:3.2.12-2ubuntu1.24USN-7903-1
Fixed in:3:4.2.11-1ubuntu1.13USN-7903-1
Fixed in:3:5.2.4-1ubuntu2.2USN-7903-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploit Intelligence

0.90%probability of exploitation in 30 days
55thpercentile

Moderate risk: more likely to be exploited than 55% of all known CVEs.

References

Related Vulnerabilities

Other CWE-89 (SQL Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-3704High7.5100%-Fix
CVE-2015-7297High7.5100%--
CVE-2024-29824High8.8100%KEVFix
CVE-2023-34362Critical9.8100%KEV + RansomFix
CVE-2019-7481High7.5100%KEV + RansomFix
CVE-2024-29826High8.8100%-Fix
Embed a live status badge for CVE-2025-13372
CVE-2025-13372 severity badge

Markdown

[![CVE-2025-13372](https://tridentstack.com/cve/badge/CVE-2025-13372.svg)](https://tridentstack.com/cve/CVE-2025-13372)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-13372"><img src="https://tridentstack.com/cve/badge/CVE-2025-13372.svg" alt="CVE-2025-13372"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-12.