CVE-2026-3902

Name
CVE-2026-3902
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 https://docs.djangoproject.com/en/dev/releases/security/
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 https://groups.google.com/g/django-announce
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 https://www.djangoproject.com/weblog/2026/apr/07/security-releases/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 4.2 < 4.2.30
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 5.2 < 5.2.13
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 6.0 < 6.0.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-django edge-community 5.2.13-r0 Antoine Martin (ayakael) <dev@ayakael.net> fixed
py3-django 3.23-community 4.2.30-r0 Natanael Copa <ncopa@alpinelinux.org> fixed