Live threats

All CVEs / Djangoproject

CVE-2026-3902Djangoproject Django

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Apr 7, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-290
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 6.0 < 6.0.4 6.0.4 pip install "django>=6.0.4"
PyPI django ≥ 5.2 < 5.2.13 5.2.13 pip install "django>=5.2.13"
PyPI django ≥ 4.2 < 4.2.30 4.2.30 pip install "django>=4.2.30"
PyPI django ≥ 4.2 < 4.2.30 4.2.30 pip install "django>=4.2.30"
PyPI django ≥ 5.2 < 5.2.13 5.2.13 pip install "django>=5.2.13"
PyPI django ≥ 6.0 < 6.0.4 6.0.4 pip install "django>=6.0.4"

Per OSV / GitHub Advisories (GHSA-mvfq-ggxm-9mc5, PYSEC-2026-51). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2 < 4.2.30
djangoprojectdjango≥ 5.2 < 5.2.13
djangoprojectdjango≥ 6.0 < 6.0.4

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.