CVE-2026-1285 Potential denial-of-service vulnerability in django.utils.text.Truncator HTML methods
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.
django.utils.text.Truncator.chars() and Truncator.words() methods (with html=True) and the truncatechars_html and truncatewords_html template filters allow a remote attacker to cause a potential denial-of-service via crafted inputs containing a large number of unmatched HTML end tags.
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 Seokchan Yoon for reporting this issue.
Upgrade path
54 packages: 46 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-server-rhel9:1770913597(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/python-django(Red Hat rhui 4 el8) | All versions | No fix listed | No fix yet |
| redhat/satellite-capsule:el8/python-django(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-advisor-backend-rhel9:1773451075(Red Hat satellite 6.18 el9) | All versions | No fix listed | No fix yet |
| alpine/py3-django(Alpine v3.23) | < 4.2.28-r0 | 4.2.28-r0 | Fixed |
| alpine/py3-django(Alpine v3.24) | < 4.2.28-r0 | 4.2.28-r0 | Fixed |
| debian/python-django(Debian 12) | < 3:3.2.25-0+deb12u2; = 3:3.2.19-1; = 3:3.2.19-1+deb12u1; = 3:3.2.19-1+deb12u1~bpo11+1 +5 more | 3:3.2.25-0+deb12u2 | Fixed |
| debian/python-django(Debian 13) | < 3:4.2.28-0+deb13u1; = 3:4.2.23-1; = 3:4.2.24-1; = 3:4.2.25-1 +5 more | 3:4.2.28-0+deb13u1 | Fixed |
| debian/python-django(Debian 14) | < 3:4.2.28-1; = 3:4.2.23-1; = 3:4.2.24-1; = 3:4.2.25-1 +4 more | 3:4.2.28-1 | Fixed |
| djangoproject django | >= 4.2, < 4.2.28; >= 5.2, < 5.2.11; >= 6.0, < 6.0.2 | 4.2.28, 5.2.11, 6.0.2 | Fixed |
| pypi django(PyPI) | = 4.2; = 4.2.1; = 4.2.2; = 4.2.3 +52 more | 4.2.28, 5.2.11, 6.0.2 | Fixed |
| redhat satellite(Red Hat satellite_maintenance 6.17 el9) | < 6.17.7-1.el9sat | 6.17.7-1.el9sat | Fixed |
| redhat satellite(Red Hat satellite_utils 6.17 el9) | < 6.17.7-1.el9sat | 6.17.7-1.el9sat | Fixed |
| redhat/foreman(Red Hat satellite_maintenance 6.17 el9) | < 3.14.0.14-1.el9sat | 3.14.0.14-1.el9sat | Fixed |
| redhat/foreman(Red Hat satellite_utils 6.17 el9) | < 3.14.0.14-1.el9sat | 3.14.0.14-1.el9sat | Fixed |
| redhat/libcomps(Red Hat satellite_maintenance 6.17 el9) | < 0.1.23-0.3.el9pc | 0.1.23-0.3.el9pc | Fixed |
| redhat/libcomps(Red Hat satellite_utils 6.17 el9) | < 0.1.23-0.3.el9pc | 0.1.23-0.3.el9pc | Fixed |
| redhat/python-brotli(Red Hat satellite_maintenance 6.17 el9) | < 1.2.0-0.1.el9pc | 1.2.0-0.1.el9pc | Fixed |
| redhat/python-brotli(Red Hat satellite_utils 6.17 el9) | < 1.2.0-0.1.el9pc | 1.2.0-0.1.el9pc | Fixed |
| redhat/python-django(Red Hat satellite 6.16 el8) | < 4.2.28-0.1.el8pc | 4.2.28-0.1.el8pc | Fixed |
| redhat/python-django(Red Hat satellite 6.16 el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc | Fixed |
| redhat/python-django(Red Hat satellite_capsule 6.16 el8) | < 4.2.28-0.1.el8pc | 4.2.28-0.1.el8pc | Fixed |
| redhat/python-django(Red Hat satellite_capsule 6.16 el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc | Fixed |
| redhat/python-django(Red Hat satellite_maintenance 6.17 el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc | Fixed |
| redhat/python-django(Red Hat satellite_utils 6.17 el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc | Fixed |
| redhat/python-pulp-container(Red Hat satellite_maintenance 6.17 el9) | < 2.22.3-1.el9pc | 2.22.3-1.el9pc | Fixed |
… and 24 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django(PyPI) | >= 6.0a1, < 6.0.2 | 6.0.2 |
| pypi django(PyPI) | = 6.0 | No fix listed |
| pypi django(PyPI) | = 6.0.1 | No fix listed |
| pypi django(PyPI) | = 6.0a1 | No fix listed |
| pypi django(PyPI) | = 6.0b1 | No fix listed |
| pypi django(PyPI) | = 6.0rc1 | No fix listed |
| pypi django(PyPI) | >= 5.2a1, < 5.2.11 | 5.2.11 |
| pypi django(PyPI) | = 5.2 | No fix listed |
| pypi django(PyPI) | = 5.2.1 | No fix listed |
| pypi django(PyPI) | = 5.2.10 | No fix listed |
| pypi django(PyPI) | = 5.2.2 | No fix listed |
| pypi django(PyPI) | = 5.2.3 | No fix listed |
| pypi django(PyPI) | = 5.2.4 | No fix listed |
| pypi django(PyPI) | = 5.2.5 | No fix listed |
| pypi django(PyPI) | = 5.2.6 | No fix listed |
| pypi django(PyPI) | = 5.2.7 | No fix listed |
| pypi django(PyPI) | = 5.2.8 | No fix listed |
| pypi django(PyPI) | = 5.2.9 | No fix listed |
| pypi django(PyPI) | = 5.2a1 | No fix listed |
| pypi django(PyPI) | = 5.2b1 | No fix listed |
| pypi django(PyPI) | = 5.2rc1 | No fix listed |
| pypi django(PyPI) | >= 4.2a1, < 4.2.28 | 4.2.28 |
| pypi django(PyPI) | = 4.2 | No fix listed |
| pypi django(PyPI) | = 4.2.1 | No fix listed |
| pypi django(PyPI) | = 4.2.10 | No fix listed |
Show 109 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django(PyPI) | = 4.2.11 | No fix listed |
| pypi django(PyPI) | = 4.2.12 | No fix listed |
| pypi django(PyPI) | = 4.2.13 | No fix listed |
| pypi django(PyPI) | = 4.2.14 | No fix listed |
| pypi django(PyPI) | = 4.2.15 | No fix listed |
| pypi django(PyPI) | = 4.2.16 | No fix listed |
| pypi django(PyPI) | = 4.2.17 | No fix listed |
| pypi django(PyPI) | = 4.2.18 | No fix listed |
| pypi django(PyPI) | = 4.2.19 | No fix listed |
| pypi django(PyPI) | = 4.2.2 | No fix listed |
| pypi django(PyPI) | = 4.2.20 | No fix listed |
| pypi django(PyPI) | = 4.2.21 | No fix listed |
| pypi django(PyPI) | = 4.2.22 | No fix listed |
| pypi django(PyPI) | = 4.2.23 | No fix listed |
| pypi django(PyPI) | = 4.2.24 | No fix listed |
| pypi django(PyPI) | = 4.2.25 | No fix listed |
| pypi django(PyPI) | = 4.2.26 | No fix listed |
| pypi django(PyPI) | = 4.2.27 | No fix listed |
| pypi django(PyPI) | = 4.2.3 | No fix listed |
| pypi django(PyPI) | = 4.2.4 | No fix listed |
| pypi django(PyPI) | = 4.2.5 | No fix listed |
| pypi django(PyPI) | = 4.2.6 | No fix listed |
| pypi django(PyPI) | = 4.2.7 | No fix listed |
| pypi django(PyPI) | = 4.2.8 | No fix listed |
| pypi django(PyPI) | = 4.2.9 | No fix listed |
| pypi django(PyPI) | = 4.2a1 | No fix listed |
| pypi django(PyPI) | = 4.2b1 | No fix listed |
| pypi django(PyPI) | = 4.2rc1 | No fix listed |
| pypi django(PyPI) | >= 4.2, < 4.2.28 | 4.2.28 |
| pypi django(PyPI) | >= 5.2, < 5.2.11 | 5.2.11 |
| pypi django(PyPI) | >= 6.0, < 6.0.2 | 6.0.2 |
| debian/python-django(Debian:12) | < 3:3.2.25-0+deb12u2 | 3:3.2.25-0+deb12u2 |
| debian/python-django(Debian:12) | = 3:3.2.19-1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.19-1+deb12u1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.19-1+deb12u1~bpo11+1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.19-1+deb12u2 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.20-1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.20-1.1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.21-1 | No fix listed |
| debian/python-django(Debian:12) | = 3:3.2.25-0+deb12u1 | No fix listed |
| debian/python-django(Debian:13) | < 3:4.2.28-0+deb13u1 | 3:4.2.28-0+deb13u1 |
| debian/python-django(Debian:13) | = 3:4.2.23-1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.24-1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.25-1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.25-2 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.26-1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.27-0+deb13u1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.27-1 | No fix listed |
| debian/python-django(Debian:13) | = 3:4.2.27-2 | No fix listed |
| debian/python-django(Debian:14) | < 3:4.2.28-1 | 3:4.2.28-1 |
| debian/python-django(Debian:14) | = 3:4.2.23-1 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.24-1 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.25-1 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.25-2 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.26-1 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.27-1 | No fix listed |
| debian/python-django(Debian:14) | = 3:4.2.27-2 | No fix listed |
| ubuntu/python-django(Ubuntu:22.04) | < 2:3.2.12-2ubuntu1.25 | 2:3.2.12-2ubuntu1.25 |
| redhat/python3.12-django(Red Hat:ansible_automation_platform:2.5::el8) | < 4.2.28-1.el8ap | 4.2.28-1.el8ap |
| redhat/python3.12-django(Red Hat:ansible_automation_platform_developer:2.5::el8) | < 4.2.28-1.el8ap | 4.2.28-1.el8ap |
| redhat/python3.12-django(Red Hat:ansible_automation_platform:2.5::el9) | < 4.2.28-1.el9ap | 4.2.28-1.el9ap |
| redhat/python3.12-django(Red Hat:ansible_automation_platform_developer:2.5::el9) | < 4.2.28-1.el9ap | 4.2.28-1.el9ap |
| redhat/python3.12-django(Red Hat:ansible_automation_platform:2.6::el9) | < 4.2.28-1.el9ap | 4.2.28-1.el9ap |
| redhat/python3.12-django(Red Hat:ansible_automation_platform_developer:2.6::el9) | < 4.2.28-1.el9ap | 4.2.28-1.el9ap |
| redhat/python-django(Red Hat:satellite:6.16::el8) | < 4.2.28-0.1.el8pc | 4.2.28-0.1.el8pc |
| redhat/python-django(Red Hat:satellite_capsule:6.16::el8) | < 4.2.28-0.1.el8pc | 4.2.28-0.1.el8pc |
| redhat/python-django(Red Hat:satellite:6.16::el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc |
| redhat/python-django(Red Hat:satellite_capsule:6.16::el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc |
| redhat/foreman(Red Hat:satellite_maintenance:6.17::el9) | < 3.14.0.14-1.el9sat | 3.14.0.14-1.el9sat |
| redhat/libcomps(Red Hat:satellite_maintenance:6.17::el9) | < 0.1.23-0.3.el9pc | 0.1.23-0.3.el9pc |
| redhat/python-brotli(Red Hat:satellite_maintenance:6.17::el9) | < 1.2.0-0.1.el9pc | 1.2.0-0.1.el9pc |
| redhat/python-django(Red Hat:satellite_maintenance:6.17::el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc |
| redhat/python-pulp-container(Red Hat:satellite_maintenance:6.17::el9) | < 2.22.3-1.el9pc | 2.22.3-1.el9pc |
| redhat/python-pulp-rpm(Red Hat:satellite_maintenance:6.17::el9) | < 3.27.10-2.el9pc | 3.27.10-2.el9pc |
| redhat/rubygem-fog-kubevirt(Red Hat:satellite_maintenance:6.17::el9) | < 1.5.1-1.el9sat | 1.5.1-1.el9sat |
| redhat/rubygem-foreman_kubevirt(Red Hat:satellite_maintenance:6.17::el9) | < 0.4.3-1.el9sat | 0.4.3-1.el9sat |
| redhat/rubygem-katello(Red Hat:satellite_maintenance:6.17::el9) | < 4.16.0.14-1.el9sat | 4.16.0.14-1.el9sat |
| redhat/rubygem-rubyipmi(Red Hat:satellite_maintenance:6.17::el9) | < 0.13.0-1.el9sat | 0.13.0-1.el9sat |
| redhat satellite(Red Hat:satellite_maintenance:6.17::el9) | < 6.17.7-1.el9sat | 6.17.7-1.el9sat |
| redhat/yggdrasil-worker-forwarder(Red Hat:satellite_maintenance:6.17::el9) | < 0.0.3-4.el9sat | 0.0.3-4.el9sat |
| redhat/foreman(Red Hat:satellite_utils:6.17::el9) | < 3.14.0.14-1.el9sat | 3.14.0.14-1.el9sat |
| redhat/libcomps(Red Hat:satellite_utils:6.17::el9) | < 0.1.23-0.3.el9pc | 0.1.23-0.3.el9pc |
| redhat/python-brotli(Red Hat:satellite_utils:6.17::el9) | < 1.2.0-0.1.el9pc | 1.2.0-0.1.el9pc |
| redhat/python-django(Red Hat:satellite_utils:6.17::el9) | < 4.2.28-0.1.el9pc | 4.2.28-0.1.el9pc |
| redhat/python-pulp-container(Red Hat:satellite_utils:6.17::el9) | < 2.22.3-1.el9pc | 2.22.3-1.el9pc |
| redhat/python-pulp-rpm(Red Hat:satellite_utils:6.17::el9) | < 3.27.10-2.el9pc | 3.27.10-2.el9pc |
| redhat/rubygem-fog-kubevirt(Red Hat:satellite_utils:6.17::el9) | < 1.5.1-1.el9sat | 1.5.1-1.el9sat |
| redhat/rubygem-foreman_kubevirt(Red Hat:satellite_utils:6.17::el9) | < 0.4.3-1.el9sat | 0.4.3-1.el9sat |
| redhat/rubygem-katello(Red Hat:satellite_utils:6.17::el9) | < 4.16.0.14-1.el9sat | 4.16.0.14-1.el9sat |
| redhat/rubygem-rubyipmi(Red Hat:satellite_utils:6.17::el9) | < 0.13.0-1.el9sat | 0.13.0-1.el9sat |
| redhat satellite(Red Hat:satellite_utils:6.17::el9) | < 6.17.7-1.el9sat | 6.17.7-1.el9sat |
| redhat/yggdrasil-worker-forwarder(Red Hat:satellite_utils:6.17::el9) | < 0.0.3-4.el9sat | 0.0.3-4.el9sat |
| redhat/python3.12-django(Red Hat:satellite:6.18::el9) | < 4.2.30-1.el9pc | 4.2.30-1.el9pc |
| redhat/python3.12-django(Red Hat:satellite_capsule:6.18::el9) | < 4.2.30-1.el9pc | 4.2.30-1.el9pc |
| redhat/discovery/discovery-server-rhel9:1770913597(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/satellite/iop-advisor-backend-rhel9:1773451075(Red Hat:satellite:6.18::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/satellite-capsule:el8/python-django(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/python-django(Red Hat:rhui:4::el8) | All versions | No fix listed |
| alpine/py3-django(Alpine:v3.23) | < 4.2.28-r0 | 4.2.28-r0 |
| alpine/py3-django(Alpine:v3.24) | < 4.2.28-r0 | 4.2.28-r0 |
| ubuntu/python-django(Ubuntu:24.04) | < 3:4.2.11-1ubuntu1.14 | 3:4.2.11-1ubuntu1.14 |
| ubuntu/python-django(Ubuntu:26.04) | < 3:5.2.9-0ubuntu3 | 3:5.2.9-0ubuntu3 |
| djangoproject django | >= 4.2, < 4.2.28 | 4.2.28 |
| djangoproject django | >= 5.2, < 5.2.11 | 5.2.11 |
| djangoproject django | >= 6.0, < 6.0.2 | 6.0.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- Django security archive patch vendor-advisory
- github.com product
- github.com
- Django releases announcements mailing-list release-notes vendor-advisory
- Django security releases issued: 6.0.2, 5.2.11, and 4.2.28 patch vendor-advisory
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-1285 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8009-1 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:3959 patch vendor-advisory
- RHSA-2026:3958 patch vendor-advisory
- RHSA-2026:5971 patch vendor-advisory
- RHSA-2026:5970 patch vendor-advisory
- RHSA-2026:14835 patch vendor-advisory
- RHSA-2026:2694 patch vendor-advisory
- RHSA-2026:6291 patch vendor-advisory
- Red Hat Bugzilla 2436340 issue-tracking
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking