CVE-2026-3902
Last modified
CVE-2026-3902 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.30 |
| Djangoproject | Django | >= 5.2, < 5.2.13 |
| Djangoproject | Django | >= 6.0, < 6.0.4 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Patch, Vendor Advisory
- https://groups.google.com/g/django-announceRelease Notes
- https://www.djangoproject.com/weblog/2026/apr/07/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-3902?
How severe is CVE-2026-3902?
How do I fix CVE-2026-3902?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-38992Cockpit v2.13.5 and earlier is vulnerable to arbitrary code …9.8
- CVE-2026-38993Cockpit 2.13.5 and earlier is vulnerable to directory traver…6.5
- CVE-2026-38998A use-after-free in the SocketDescriptor::tcpReadHandler1 fu…6.5
- CVE-2026-38999A Null Pointer Dereference in the mk_sched_event_close funct…7.5
- CVE-2026-39006An issue in SNMP4J-Agent 3.8.3 allows a remote attacker to e…9.8
- CVE-2026-39007An issue in Observeinc's Observe v.2026-01-28 and before all…7.5
- CVE-2026-39020An issue in WIngs3D v.2.4.1 allows a local attacker to cause…5.5
- CVE-2026-3903The Modular DS: Monitor, update, and backup multiple website…4.3
- CVE-2026-39031Lansweeper lsrunase 2.0 and lsencrypt 2.0 use RC4 encryption…5.5
- CVE-2026-39038BharatMLStack up to and including v1.3.0 is vulnerable to Cr…6.1
- CVE-2026-39039In BharatMLStack up to and including v1.3.0, Trufflebox UI s…5.3
- CVE-2026-3904Calling NSS-backed functions that support caching via nscd m…6.2
Are you affected by CVE-2026-3902?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
