CVE-2026-3902

Source
https://cve.org/CVERecord?id=CVE-2026-3902
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3902.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3902
Aliases
Downstream
Related
Published
2026-04-07T14:22:07.190Z
Modified
2026-07-15T01:49:13.084975242Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
ASGI header spoofing via underscore/hyphen conflation
Details

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.

Database specific
{
    "cna_assigner": "DSF",
    "cwe_ids": [
        "CWE-290"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3902.json"
}
References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
{
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "4.2"
        },
        {
            "fixed": "4.2.30"
        },
        {
            "introduced": "5.2"
        },
        {
            "fixed": "5.2.13"
        },
        {
            "introduced": "6.0"
        },
        {
            "fixed": "6.0.4"
        }
    ],
    "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"
}

Affected versions

5.*
5.2
5.2.1
5.2.10
5.2.11
5.2.12
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
5.2.7
5.2.8
5.2.9
6.*
6.0
6.0.1
6.0.2
6.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3902.json"