
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1285 is a denial-of-service vulnerability in Django's HTML truncation utilities, specifically affecting django.utils.text.Truncator.chars() and Truncator.words() methods (when called with html=True), as well as the truncatechars_html and truncatewords_html template filters. It was disclosed on February 3, 2026, and affects Django versions 4.2 before 4.2.28, 5.2 before 5.2.11, and 6.0 before 6.0.2; earlier unsupported series (3.2.x, 4.1.x, 5.0.x) were not evaluated but may also be affected. The vulnerability was reported by Seokchan Yoon. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is inefficient algorithmic complexity (CWE-407) and allocation of resources without limits or throttling (CWE-770) in Django's HTML-aware text truncation logic. When processing input containing a large number of unmatched HTML end tags, the truncation algorithm exhibits worst-case computational behavior, consuming excessive CPU or memory resources. The vulnerability is remotely exploitable with no authentication, no user interaction, and low attack complexity — an attacker simply needs to supply crafted input to any application endpoint that passes user-controlled data through the affected truncation functions or template filters. The fix is tracked in the Django source repository (Django Changeset, GitHub Advisory).
Successful exploitation causes a denial-of-service condition by exhausting server-side processing resources when the vulnerable truncation methods handle maliciously crafted HTML input. There is no impact on confidentiality or data integrity — the sole consequence is availability degradation, potentially rendering the affected Django application unresponsive. Applications that expose user-controlled content to truncatechars_html, truncatewords_html, or the underlying Truncator methods with html=True are at risk, and the impact is scoped to the vulnerable system without lateral movement potential (GitHub Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2026-1285. The EPSS score is approximately 0.042% (23rd percentile), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. No threat actor attribution has been identified (GitHub Advisory).
truncatechars_html, truncatewords_html, or Truncator.chars()/Truncator.words() with html=True.</div>, </span>, or similar closing tags with no corresponding opening tags).</div></div></div>...).Django has released patched versions addressing this vulnerability: 4.2.28, 5.2.11, and 6.0.2. All users running affected versions should upgrade immediately. No official configuration-based workaround is provided; however, as an interim measure, applications can sanitize or limit the length of user-supplied input before passing it to the affected truncation functions, or avoid using html=True with untrusted input. Red Hat has issued errata for affected products including Ansible Automation Platform (RHSA-2026:3958, RHSA-2026:3959) and Red Hat Satellite (RHSA-2026:5970, RHSA-2026:5971) (Django Security Releases, Red Hat Bugzilla).
The Django project published a security release blog post on February 3, 2026, crediting Seokchan Yoon for responsible disclosure and urging users to upgrade promptly (Django Security Releases). The Django security team also published a follow-up post on February 4, 2026, discussing recent trends observed by the security team (Django Security Blog). Security news outlets including GBHackers, CyberSecurityNews, and SecurityOnline covered the release, noting the DoS risk alongside other vulnerabilities patched in the same release cycle. Ubuntu, Debian, Fedora, SUSE, and Mageia all issued downstream advisories, reflecting broad ecosystem attention to the patch (Ubuntu Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
python-django: 3:3.2.25-0+deb12u2
sid
python-django: 3:4.2.28-1
trixie
python-django: 3:4.2.28-0+deb13u1
bionic (esm-infra)
python-django: 1:1.11.11-1ubuntu1.21+esm14
devel
python-django: 3:5.2.9-0ubuntu3
focal (esm-infra)
python-django: 2:2.2.12-1ubuntu0.29+esm7
jammy
python-django: 2:3.2.12-2ubuntu1.25
noble
python-django: 3:4.2.11-1ubuntu1.14
questing
python-django: 3:5.2.4-1ubuntu2.3
resolute
python-django: 3:5.2.9-0ubuntu3
trusty (esm-infra-legacy)
python-django
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."