# CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-02)
- Published: 2026-04-07T14:22:07.190Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-mvfq-ggxm-9mc5, BIT-DJANGO-2026-3902, PYSEC-2026-51
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- django: from 6.0 before 6.0.4; from 5.2 before 5.2.13; from 4.2 before 4.2.30 (not affected: 6.0.4; 5.2.13; 4.2.30)
- django (PyPI): from 6.0 before 6.0.4; from 5.2 before 5.2.13; from 4.2 before 4.2.30
- djangoproject django: from 4.2 before 4.2.30; from 5.2 before 5.2.13; from 6.0 before 6.0.4
- django (Bitnami): from 4.2.0 before 4.2.30; from 5.2.0 before 5.2.13; from 6.0.0 before 6.0.4

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/django-announce> (advisory, article, mailing-list, release-notes, web)
- <https://www.djangoproject.com/weblog/2026/apr/07/security-releases/> (advisory, fix, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-3902> (advisory, web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-51.yaml> (web)
- <https://www.djangoproject.com/weblog/2026/apr/07/security-releases> (web)
- <https://github.com/advisories/GHSA-mvfq-ggxm-9mc5> (advisory)

## Sources

- CVE List: [CVE-2026-3902](https://www.cve.org/CVERecord?id=CVE-2026-3902), CVE Terms of Use, modified 2026-04-07
- GitHub Advisory Database: [GHSA-mvfq-ggxm-9mc5](https://github.com/advisories/GHSA-mvfq-ggxm-9mc5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-3902](https://nvd.nist.gov/vuln/detail/CVE-2026-3902), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-51](https://osv.dev/vulnerability/PYSEC-2026-51), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-3902](https://osv.dev/vulnerability/BIT-DJANGO-2026-3902), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-3902 · Whole record: https://cve.day/CVE-2026-3902.json · Rebuilt by cve.day 2026-11-25T22:59:18.107Z
