An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.
DomainNameValidator does not prohibit newlines in domain names (unless used via a form field, since CharField strips newlines). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.
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 Bence Nagy for reporting this issue.
CVE-2026-53878
Score 6.1 from GitHub Security Advisory published 2026-07-07. a secondary CVSS source baseline 6.1; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(high)
- EPSS
- 12.1%
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 9, 2026
Advisory Details (3)
Auto-updated Jul 7, 2026Django security releases issued: 6.0.7 and 5.2.16 | Weblog | Django
https://www.djangoproject.com/weblog/2026/jul/07/security-releases/Archive of security issues | Django documentation | Django
https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisories for CVE-2026-53878(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 16× in last 7d / 16× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 10:51 UTCEG score recompute
- 2026-07-11 10:51 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 11:52 UTCEG score recompute
- 2026-07-10 11:52 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 12:53 UTCEG score recompute
- 2026-07-09 12:53 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 13:53 UTCEG score recompute
- 2026-07-08 13:53 UTCGHSA enrichment
- 2026-07-07 14:52 UTCEG score recompute
- 2026-07-07 14:52 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-53878?
When was CVE-2026-53878 disclosed?
Is CVE-2026-53878 actively exploited?
What is the CVSS score of CVE-2026-53878?
How do I remediate CVE-2026-53878?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-53878
Is Your Infrastructure Affected by CVE-2026-53878?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.