CVE-2026-3902Django vulnerable to ASGI header spoofing via underscore/hyphen conflation
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.6%
- percentile 42%
- Fix
- Named by a source
- CVE published 7 Apr 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.6% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5) · CVSS 7.5: at least medium
Immediate actions
- django (PyPI): upgrade to 6.0.4 / 5.2.13 / 4.2.30 or later on your release line.
- Patch: https://docs.djangoproject.com/en/dev/releases/security/
- Patch: https://www.djangoproject.com/weblog/2026/apr/07/security-releases/
- Advisory: https://groups.google.com/g/django-announce
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-3902
- Advisory: https://github.com/advisories/GHSA-mvfq-ggxm-9mc5
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 6.0, < 6.0.4Fixed in6.0.4OSV (PYSEC-2026-51)
- Affected>= 5.2, < 5.2.13Fixed in5.2.13OSV (PYSEC-2026-51)
- Affected>= 4.2, < 4.2.30Fixed in4.2.30OSV (PYSEC-2026-51)
djangoproject django product:djangoproject/django
- Affected>= 6.0, < 6.0.4Affected range ends before6.0.4as published by CNA (CVE List)
- Affected>= 5.2, < 5.2.13Affected range ends before5.2.13as published by CNA (CVE List)
- Affected>= 4.2, < 4.2.30Affected range ends before4.2.30as published by CNA (CVE List)
- Affected>= 4.2, < 4.2.30Affected range ends before4.2.30as published by CPE data (via the NVD API)
- Affected>= 5.2, < 5.2.13Affected range ends before5.2.13as published by CPE data (via the NVD API)
- Affected>= 6.0, < 6.0.4Affected range ends before6.0.4as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- CISA-ADP
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-290
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 7 Apr 2026Published
References
- patchhttps://docs.djangoproject.com/en/dev/releases/security/
- advisoryhttps://groups.google.com/g/django-announce
- patchhttps://www.djangoproject.com/weblog/2026/apr/07/security-releases/
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-3902
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-51.yaml
- otherhttps://www.djangoproject.com/weblog/2026/apr/07/security-releases
- advisoryhttps://github.com/advisories/GHSA-mvfq-ggxm-9mc5
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-3902 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-mvfq-ggxm-9mc5 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-51 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 7 min ago · osv 7 min ago · nvd 68 min ago · epss 6 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2026-3902, GHSA-mvfq-ggxm-9mc5, PYSEC-2026-51