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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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-38979ajenti through v2.2.13 has a clickjacking weakness in the br…5.4
- CVE-2026-38991Cockpit 2.13.5 and earlier is affected by a misconfiguration…8.8
- 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-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-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-3904Calling NSS-backed functions that support caching via nscd m…6.2
- CVE-2026-39042An issue in MikroTIk (SIA Mikrotikls, Latvia) RouterOS 7.21.…7.5
- CVE-2026-39047Buffer Overflow vulnerability in EPSON L14150 FL27PB allows …7.5
- CVE-2026-39052Oinone Pamirs 7.0.0 contains a code execution vulnerability …6.5
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
