CVE-2026-3902
Published:April 07, 2026
Updated:April 21, 2026
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.
Affected Packages
django (CONDA):
Affected version(s) >=4.2 <4.2.30Fix Suggestion:
Update to version 4.2.30django (CONDA):
Affected version(s) >=6.0 <6.0.4Fix Suggestion:
Update to version 6.0.4django (CONDA):
Affected version(s) >=5.2 <5.2.13Fix Suggestion:
Update to version 5.2.13https://github.com/django/django.git (GITHUB):
Affected version(s) >=4.2 <4.2.30Fix Suggestion:
Update to version 4.2.30https://github.com/django/django.git (GITHUB):
Affected version(s) >=5.2 <5.2.13Fix Suggestion:
Update to version 5.2.13https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0 <6.0.4Fix Suggestion:
Update to version 6.0.4django (PYTHON):
Affected version(s) >=5.2 <5.2.13Fix Suggestion:
Update to version 5.2.13django (PYTHON):
Affected version(s) >=6.0 <6.0.4Fix Suggestion:
Update to version 6.0.4Django (PYTHON):
Affected version(s) >=5.2 <5.2.13Fix Suggestion:
Update to version 5.2.13django (PYTHON):
Affected version(s) >=4.2 <4.2.30Fix Suggestion:
Update to version 4.2.30Django (PYTHON):
Affected version(s) >=4.2 <4.2.30Fix Suggestion:
Update to version 4.2.30Django (PYTHON):
Affected version(s) >=6.0 <6.0.4Fix Suggestion:
Update to version 6.0.4Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Authentication Bypass by Spoofing
EPSS
Base Score:
0.05