CVSS 4.0
5.3 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NMedium (5.3) in djangoproject django. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in django 5.2.16, 6.0.7.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Ndjango (PyPI): fixed in 5.2.16, 6.0.7Explain CVE-2026-53878 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53878?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53878?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53878 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| djangoproject Django | from 6.0 before 6.0.7 |
| djangoproject Django | from 5.2 before 5.2.16 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8qcx-xf44-272x | PyPI | django | <5.2.16 | 5.2.16 |
| GHSA-8qcx-xf44-272x | PyPI | django | >=6.0.0 <6.0.7 | 6.0.7 |
| PYSEC-2026-2092 | PyPI | django | >=5.2 <5.2.16 >=6.0 <6.0.7 | 5.2.16, 6.0.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | python-django | no fix listed | DEBIAN-CVE-2026-53878 |
| Debian | 14 | python-django | 3:5.2.16-1 | DEBIAN-CVE-2026-53878 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 6 more | python-django | no fix listed | UBUNTU-CVE-2026-53878 |
| openSUSE | Leap 16.0 | python-Django | 5.2.4-bp160.10.1 | openSUSE-SU-2026:21313-1 |
| openSUSE | Tumbleweed | python-Django | 5.2.16-1.1 | openSUSE-SU-2026:11248-1 |
| openSUSE | Tumbleweed | python-Django5 | 5.2.16-1.1 | openSUSE-SU-2026:11270-1 |
| openSUSE | Tumbleweed | python-Django6 | 6.0.7-1.1 | openSUSE-SU-2026:11236-1 |
| Alpine | v3.24 | py3-django | 5.2.16-r0 | ALPINE-CVE-2026-53878 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.
Red Hat rates this Low.
This flaw has a Low impact on Red Hat products. A vulnerability in Django's `DomainNameValidator` allows newline characters, which could enable HTTP header injection if validated values are directly used in HTTP response headers outside of Django's standard form handling. However, Django's core HTTP response mechanisms and default form field behaviors prevent this issue in typical deployments by rejecting or stripping newline characters. Exploitation requires a specific, non-default application implementation.
To mitigate this issue, ensure that custom Django applications do not directly place values validated by `DomainNameValidator` into HTTP response headers without further sanitization. Applications should rely on Django's default form handling and `HttpResponse` functionality, which automatically prevent newline injection. If direct header manipulation is unavoidable, implement explicit input sanitization to remove newline characters before constructing HTTP response headers.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/eda-controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/aap-cloud-billing-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/eda-controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/hub-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/lightspeed-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/metrics-service-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform/automation-dashboard-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/metrics-service-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9 | Fix deferred | |
| Red Hat Satellite 6 | satellite/iop-advisor-backend-rhel9 | Fix deferred | |
| Self-service automation portal 2 | ansible-automation-platform/bootc-automation-portal-rhel9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53878.