# CVE-2026-53878: Header injection possibility since DomainNameValidator accepted newlines in input

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-07 · Modified: 2026-07-07
- Aliases: GHSA-8qcx-xf44-272x, BIT-django-2026-53878, PYSEC-2026-2092, UBUNTU-CVE-2026-53878, DEBIAN-CVE-2026-53878, CGA-452c-r7ww-r9w9, CGA-7r43-9rxr-j3rm, CGA-8ffm-wrvx-4hj6, CGA-9qm9-c3mj-w296, CGA-c3v2-q8qw-qcqx, CGA-c87m-jpmh-xh2p, CGA-f4fm-mpg6-4h4w, CGA-f7gg-597q-c5mm, CGA-f9j8-399c-469m, CGA-fjrh-xch9-wwfj, CGA-gjwg-hw2h-2cx8, CGA-hj66-m5f4-2q5f, CGA-hpj4-rq9j-9rqr, CGA-j565-hm2m-jwfp, CGA-j8wf-qfgm-7qxv, CGA-jmxr-qc2c-cc64, CGA-mr37-6g54-jxrv, CGA-mrcv-jfvr-59rh, CGA-mv8j-p653-34m3, CGA-q68v-mfp2-x5jh, CGA-qq47-97ff-x2w6, CGA-qw5v-g2rp-28p3, CGA-qx5v-6x8j-8xrr, CGA-v6f7-8x54-c5x6, CGA-vp64-pf96-xh3v, CGA-vpr9-mvr4-x5r2, ALPINE-CVE-2026-53878
- Record: https://cvemate.com/vulnerability/CVE-2026-53878 · JSON: https://cvemate.com/vulnerability/CVE-2026-53878/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.206%, percentile 11.222%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-django (Alpine Linux): \< 5.2.16-r0
- chainguard authentik-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-2026.2 (Chainguard): \< 2026.2.6-r14
- chainguard authentik-2026.5 (Chainguard): \< 2026.5.6-r6
- chainguard authentik-fips-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.2 (Chainguard): \< 2026.2.6-r14
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.6-r8
- chainguard awx (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.1-fips (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.2-fips (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2026.1 (Chainguard): \< 25.7.3\_git20260806-r1
- chainguard openstack-horizon-2026.1-fips (Chainguard): \< 25.7.3\_git20260806-r1
- debian python-django (Debian): All versions (No fix recorded) \| \< 3:5.2.16-1
- ubuntu python-django (Ubuntu): All versions (No fix recorded)
- djangoproject django: ≥ 5.2, \< 5.2.16 \| ≥ 6.0, \< 6.0.7
- PyPI django (PyPI): \< 5.2.16 \| ≥ 6.0.0, \< 6.0.7 \| ≥ 6.0, \< 6.0.7

## References

- <https://docs.djangoproject.com/en/dev/releases/security/>
- <https://groups.google.com/g/django-announce>
- <https://www.djangoproject.com/weblog/2026/jul/07/security-releases/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53878>
- <https://github.com/django/django/commit/3a720d0d8bf2529253b98968f10ca73daf6d693c>
- <https://github.com/django/django/commit/a5de13f1491f1dbf2bb0ad9b91570524ebbc8acd>
- <https://github.com/django/django/commit/d5d60ed0323cddaa0ce0237a26a3d49ac21ee05e>
- <https://docs.djangoproject.com/en/dev/releases/security>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2092.yaml>
- <https://www.djangoproject.com/weblog/2026/jul/07/security-releases>
- <https://github.com/advisories/GHSA-8qcx-xf44-272x>
- <https://ubuntu.com/security/CVE-2026-53878>
- <https://www.cve.org/CVERecord?id=CVE-2026-53878>
- <https://security-tracker.debian.org/tracker/CVE-2026-53878>
- <https://github.com/django/django/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53878.json>
- <https://pypi.org/project/Django/>
- <https://security.alpinelinux.org/vuln/CVE-2026-53878>

---

Data as of 2026-12-05T09:19:47.001Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
