CVE-2026-53878
Last modified
CVE-2026-53878 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 5.2, < 5.2.16 |
| Djangoproject | Django | >= 6.0, < 6.0.7 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Patch, Vendor Advisory
- https://groups.google.com/g/django-announceRelease Notes
- https://www.djangoproject.com/weblog/2026/jul/07/security-releases/Vendor Advisory, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-53878?
How severe is CVE-2026-53878?
How do I fix CVE-2026-53878?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53872picklescan before 0.0.35 contains an unsafe pickle deseriali…8.7
- CVE-2026-53873picklescan before 1.0.4 contains an incomplete blocklist for…9.8
- CVE-2026-53874picklescan before 1.0.1 contains an unsafe deserialization v…9.8
- CVE-2026-53875picklescan before 1.0.3 contains a scanning bypass vulnerabi…7.1
- CVE-2026-53876RadiX AX6600 WiFi 6 Tri-Band Gaming Router contains an OS co…8.6
- CVE-2026-53877An issue was discovered in Django 6.0 before 6.0.7 and 5.2 b…6.3
- CVE-2026-53899Firefox for iOS used partial domain matching when attaching …6.5
- CVE-2026-53900Firefox for iOS preserved cookies set on the initial PDF req…4.3
- CVE-2026-53901Cerebrate before version 1.37 contains a mass-assignment vul…8.7
- CVE-2026-53902MCO does not properly enforce authorization checks in the /c…6.5
- CVE-2026-53903MCO is vulnerable to an Insecure Direct Object Reference (ID…8.1
- CVE-2026-53904MCO is vulnerable to Account Denial of Service due to improp…7.1
Are you affected by CVE-2026-53878?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
