CVE-2026-53878
published medium CVSS 4.0 · 5.3Header injection possibility since DomainNameValidator accepted newlines in input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| djangoproject | — | djangoDjango · 6.0 to < 6.0.7 (affected · python) · 6.0.7 (unaffected · python) · 5.2 to < 5.2.16 (affected · python) · 5.2.16 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | DSF |
| Alpine Linux | edge | py3-django | Fixed | 5.2.16-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Djangonoarch | Advisory build | 5.2.4-bp160.10.1 | OPENSUSE-SU-2026:21313-1 |
| Alpine Linux | v3.24 | py3-django | Fixed | 5.2.16-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoaarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangoppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangos390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Djangox86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5aarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5ppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5s390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django5x86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6aarch64 | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6ppc64le | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6s390x | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Django6x86_64 | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoaarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangoppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangos390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Djangox86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5aarch64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5ppc64le | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5s390x | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django5x86_64 | Advisory build | 5.2.16-1.1 | OPENSUSE-SU-2026:11270-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6aarch64 | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6ppc64le | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6s390x | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Django6x86_64 | Advisory build | 6.0.7-1.1 | OPENSUSE-SU-2026:11236-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- DSF · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | DSF · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| djangoproject | Django | 6.0 to < 6.0.7 (affected · python)6.0.7 (unaffected · python)5.2 to < 5.2.16 (affected · python)5.2.16 (unaffected · python)Default: unaffected | DSF · cna |
Weaknesses
1- CWE-144 CWE-144: Improper Neutralization of Line Delimiters
References
3- Django security archive https://docs.djangoproject.com/en/dev/releases/security/
- Django releases announcements https://groups.google.com/g/django-announce
- Django security releases issued: 6.0.7 and 5.2.16 https://www.djangoproject.com/weblog/2026/jul/07/security-releases/
Provider assertions
2DSF · cna
Header injection possibility since DomainNameValidator accepted newlines in input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 61b464f6e4a8c4dd8c197dfb9009c978e4e0dc42fa1c837dc03934e33a893ebe
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record