CVE-2026-3902Djangoproject Django Authentication Bypass by Spoofing
NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vulnerability Summary
An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30.
`ASGIRequest` allows a remote attacker to spoof headers by exploiting an ambiguous mapping of two header variants (with hyphens or with underscores) to a single version with underscores.
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 Tarek Nakkouch for reporting this issue.
`ASGIRequest` allows a remote attacker to spoof headers by exploiting an ambiguous mapping of two header variants (with hyphens or with underscores) to a single version with underscores.
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 Tarek Nakkouch for reporting this issue.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Djangoproject Django >= 4.2 and < 4.2.30
- Djangoproject Django >= 5.2 and < 5.2.13
- Djangoproject Django >= 6.0 and < 6.0.4
- djangoproject Django >= 6.0 and < 6.0.4
- djangoproject Django >= 5.2 and < 5.2.13
- djangoproject Django >= 4.2 and < 4.2.30
- Djangoproject Django 4.2.30
- Djangoproject Django 5.2.13
- Djangoproject Django 6.0.4
- djangoproject Django 6.0.4
- djangoproject Django 5.2.13
- djangoproject Django 4.2.30
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Djangoproject Django and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Apr 7, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Djangoproject Django CVEsYou are reading CVE-2026-3902. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 27, 2026 19:14 UTC