Live threats

All CVEs / Djangoproject

CVE-2026-25674Djangoproject Django

Low 3.7 No auth needed

Priority
37
CVSS 3.1
3.7
EPSS
—
Auth required
No
Published
Mar 3, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. Race condition in file-system storage and file-based cache backends in Django allows an attacker to cause file system objects to be created with incorrect permissions via concurrent requests, where one thread's temporary `umask` change affects other threads in multi-threaded environments. 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.3 6.0.3 pip install "django>=6.0.3"
PyPI django ≥ 5.2 < 5.2.12 5.2.12 pip install "django>=5.2.12"
PyPI django ≥ 4.2 < 4.2.29 4.2.29 pip install "django>=4.2.29"
PyPI django ≥ 4.2 < 4.2.29 4.2.29 pip install "django>=4.2.29"
PyPI django ≥ 5.2 < 5.2.12 5.2.12 pip install "django>=5.2.12"
PyPI django ≥ 6.0 < 6.0.3 6.0.3 pip install "django>=6.0.3"

Per OSV / GitHub Advisories (GHSA-mjgh-79qc-68w3, PYSEC-2026-2449). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2.0 < 4.2.29
djangoprojectdjango≥ 5.2 < 5.2.12
djangoprojectdjango≥ 6.0 < 6.0.3

Official advisories

Also: SUSE (+3)

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

Official sources

References

Links published by the sources. Open them with care.