Resource exhaustion in Django - CVE-2026-1285

 

Resource exhaustion in Django - CVE-2026-1285

Published: February 3, 2026


Vulnerability identifier: #VU122259
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-1285
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Django Software Foundation
Affected software:
Django

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources within the django.utils.text.Truncator.chars() and Truncator.words() methods (with html=True) and truncatechars_html and truncatewords_html template filters. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2026-1285

Install updates from vendor's website.

Sources