CVE-2026-3902: djangoproject Django · Authentication Bypass by Spoofing
Affects djangoproject DjangoSource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| djangoprojectDjango | Affected
| Fixed in
|
| djangoprojectDjango | Affected
| Fixed in
|
| djangoprojectDjango | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
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.