6.1

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

Analyzed
AliasesGHSA-8qcx-xf44-272xBIT-django-2026-53878PYSEC-2026-2092
Published 07-07-2026Last modified 07-07-2026

Vulnerability summary

CVE-2026-53878 is a medium (CVSS 6.1) vulnerability in djangoproject django. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.21%
0%100%
Low · -0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 07-07-2026
    PublishedVulnerability first disclosed.
  2. 07-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Decrease -0.12 pp

From 0.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard13 products
  • authentik-2025.12All versions (No fix recorded)
  • authentik-2026.2< 2026.2.6-r14
  • authentik-2026.5< 2026.5.6-r6
  • authentik-fips-2025.12All versions (No fix recorded)
  • authentik-fips-2026.2< 2026.2.6-r14
Alpine1 product
  • py3-django< 5.2.16-r0
Debian1 product
  • python-djangoAll versions (No fix recorded) | < 3:5.2.16-1
Djangoproject1 product
  • django≥ 5.2, < 5.2.16 | ≥ 6.0, < 6.0.7
PyPI1 product
  • django< 5.2.16 | ≥ 6.0.0, < 6.0.7 | ≥ 6.0, < 6.0.7
Ubuntu1 product
  • python-djangoAll versions (No fix recorded)

6 vendors · 18 products

References

19 links
Show all 19 references