CVE-2026-3902
ASGI header spoofing via underscore/hyphen conflation
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.443% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:49.616Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:01:52.885Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:52.885Z | CVE Program |
Affected versions and configuration
djangoproject Django; default status: unaffected: 6.0 to < 6.0.4 [affected; scheme: semver]; 6.0.4 [unaffected; scheme: semver]; 5.2 to < 5.2.13 [affected; scheme: semver]; 5.2.13 [unaffected; scheme: semver]; 4.2 to < 4.2.30 [affected; scheme: semver]; 4.2.30 [unaffected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
OSV · osv · full conditions
{
"id": "GHSA-mvfq-ggxm-9mc5",
"aliases": [
"BIT-django-2026-3902",
"CVE-2026-3902",
"PYSEC-2026-51"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0"
},
{
"fixed": "6.0.4"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"6.0",
"6.0.1",
"6.0.2",
"6.0.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mvfq-ggxm-9mc5/GHSA-mvfq-ggxm-9mc5.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.2"
},
{
"fixed": "5.2.13"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"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"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mvfq-ggxm-9mc5/GHSA-mvfq-ggxm-9mc5.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.30"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"4.2",
"4.2.1",
"4.2.10",
"4.2.11",
"4.2.12",
"4.2.13",
"4.2.14",
"4.2.15",
"4.2.16",
"4.2.17",
"4.2.18",
"4.2.19",
"4.2.2",
"4.2.20",
"4.2.21",
"4.2.22",
"4.2.23",
"4.2.24",
"4.2.25",
"4.2.26",
"4.2.27",
"4.2.28",
"4.2.29",
"4.2.3",
"4.2.4",
"4.2.5",
"4.2.6",
"4.2.7",
"4.2.8",
"4.2.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mvfq-ggxm-9mc5/GHSA-mvfq-ggxm-9mc5.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3902",
"type": "ADVISORY"
},
{
"url": "https://docs.djangoproject.com/en/dev/releases/security",
"type": "WEB"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-51.yaml",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/django-announce",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2026/apr/07/security-releases",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-290"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-07T15:17:46Z",
"github_reviewed_at": "2026-04-08T15:39:55Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-51",
"aliases": [
"BIT-django-2026-3902",
"CVE-2026-3902",
"GHSA-mvfq-ggxm-9mc5"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.30"
},
{
"introduced": "5.2"
},
{
"fixed": "5.2.13"
},
{
"introduced": "6.0"
},
{
"fixed": "6.0.4"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"4.2",
"4.2.1",
"4.2.10",
"4.2.11",
"4.2.12",
"4.2.13",
"4.2.14",
"4.2.15",
"4.2.16",
"4.2.17",
"4.2.18",
"4.2.19",
"4.2.2",
"4.2.20",
"4.2.21",
"4.2.22",
"4.2.23",
"4.2.24",
"4.2.25",
"4.2.26",
"4.2.27",
"4.2.28",
"4.2.29",
"4.2.3",
"4.2.4",
"4.2.5",
"4.2.6",
"4.2.7",
"4.2.8",
"4.2.9",
"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.0",
"6.0.1",
"6.0.2",
"6.0.3"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2026-51.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://groups.google.com/g/django-announce",
"type": "ADVISORY"
},
{
"url": "https://docs.djangoproject.com/en/dev/releases/security/",
"type": "FIX"
},
{
"url": "https://www.djangoproject.com/weblog/2026/apr/07/security-releases/",
"type": "FIX"
},
{
"url": "https://github.com/advisories/GHSA-mvfq-ggxm-9mc5",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://github.com/django/django/",
"vendor": "djangoproject",
"product": "Django",
"versions": [
{
"status": "affected",
"version": "6.0",
"lessThan": "6.0.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.0.4",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.2",
"lessThan": "5.2.13",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.2.13",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.2",
"lessThan": "4.2.30",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.2.30",
"versionType": "semver"
}
],
"packageName": "django",
"collectionURL": "https://pypi.org/project/Django/",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-3902",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-07T16:14:03.870418Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-07T16:14:07.198Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 6.0.4 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 5.2.13 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 4.2.30 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2026-04-07T15:30:52.000Z
Source modification: 2026-09-10T03:50:44.836ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2026-04-07T15:17:46.353Z
Source modification: 2026-06-10T17:01:10.789ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CVE ProgramConsulted: 2026-11-19T12:01:52.885ZArchived source JSON
Source publication: 2026-04-07T14:22:07.190Z
Source modification: 2026-04-07T16:14:07.198ZDocument fingerprint
441c6b8ec6af8ade6ba4be7361525fad0df56711b46379aec567315f209b9f83 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:49.616ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
21dd983f00e8645324096731e4fb75be5ea39aa4a58a565c80b67996d366740e
Official status history
- UNKNOWN → PUBLISHED · · evidence