{"id":"CVE-2026-3902","published":"2026-04-07T14:22:07Z","modified":"2026-04-07T16:14:07Z","title":"ASGI header spoofing via underscore/hyphen conflation","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00443,"percentile":0.39424,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/apr/07/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.88},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.4",">= 5.2, < 5.2.13",">= 4.2, < 4.2.30"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.4","5.2.13","4.2.30"]}],"capec":[{"id":"CAPEC-151","name":"Identity Spoofing"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T16:14:03.870418Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=6.0, <6.0.4",">=5.2, <5.2.13",">=4.2, <4.2.30"],"patched":["6.0.4","5.2.13","4.2.30"],"from":["GHSA-mvfq-ggxm-9mc5","PYSEC-2026-51"],"provenance":"source"}],"summary":{"text":"The flaw is in Django's ASGI request handling, specifically the ASGIRequest component, where header names containing hyphens and those containing underscores are both mapped to the same underscore-form key, making them indistinguishable. An attacker with network access can send requests with crafted headers that spoof headers the application relies on, and no authentication or user interaction is required, though the affected versions are 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:28Z"},"euvd":{"id":"EUVD-2026-19686","exploited":false,"provenance":"source"}}