Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.30 |
Related Weaknesses (CWE)
References
- https://docs.djangoproject.com/en/dev/releases/security/PatchVendor Advisory
- https://groups.google.com/g/django-announceRelease Notes
- https://www.djangoproject.com/weblog/2026/apr/07/security-releases/PatchVendor Advisory
FAQ
What is CVE-2026-3902?
CVE-2026-3902 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-3902?
CVE-2026-3902 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-3902?
Check the references section above for vendor advisories and patch information. Affected products include: Djangoproject Django.