Skip to main content
VulnerabilityPublished

CVE-2026-3902: djangoproject Django · Authentication Bypass by Spoofing

Affects djangoproject DjangoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 6.0.4 : patch djangoproject Django soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.0.4, 5.2.13, 4.2.30
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Django and django to 6.0.4, 5.2.13 or 4.2.30.

Affected software

ProductAffectedFixed in
djangoprojectDjangoAffected
  • >=6.0 <6.0.4
Fixed in
  • 6.0.4
djangoprojectDjangoAffected
  • >=5.2 <5.2.13
Fixed in
  • 5.2.13
djangoprojectDjangoAffected
  • >=4.2 <4.2.30
Fixed in
  • 4.2.30
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • <6.0.4
  • <5.2.13
  • <4.2.30
Fixed in
  • 6.0.4
  • 5.2.13
  • 4.2.30
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • >=6.0 <6.0.4
  • >=5.2 <5.2.13
  • >=4.2 <4.2.30
Fixed in
  • 6.0.4
  • 5.2.13
  • 4.2.30

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until then, consider reviewing header handling in ASGIRequest and applying any recommended temporary mitigations from the vendor.

Description

CVE-2026-3902 is an authentication bypass vulnerability in Django versions prior to 6.0.4, 5.2.13, and 4.2.30. It arises from ambiguous handling of HTTP headers in ASGIRequest, where headers with hyphens and underscores are mapped ambiguously, allowing remote attackers to spoof headers. This can lead to authentication bypass by spoofing. The vulnerability has a high severity with a CVSS score of 7.

References

Community reviews

Loading reviews…