CVE-2026-25674
JSON

3.7low

Potential incorrect permissions on newly created file system objects

Severity
3.7low CVSS:3.1 by CISA-ADP
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
DSF
Also known as
GHSA-mjgh-79qc-68w3BIT-DJANGO-2026-25674PYSEC-2026-2449

Description

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.

Affected

Product or packageVersionsReported by
djangofrom 6.0 before 6.0.3, from 5.2 before 5.2.12, from 4.2 before 4.2.29
Not affected: 6.0.3, 5.2.12, 4.2.29
CVE List
django (PyPI)from 6.0 before 6.0.3, from 5.2 before 5.2.12, from 4.2 before 4.2.29GitHub Advisory Database, PyPA Advisory Database
djangoproject djangofrom 4.2.0 before 4.2.29, from 5.2 before 5.2.12, from 6.0 before 6.0.3NVD
django (Bitnami)from 4.2.0 before 4.2.29, from 5.2.0 before 5.2.12, from 6.0.0 before 6.0.3Bitnami Vulnerability Database

All scores

CISA-ADP3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
PyPA Advisory Database3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en 6.0 anterior a 6.0.3, 5.2 anterior a 5.2.12 y 4.2 anterior a 4.2.29. Una condición de carrera en el almacenamiento del sistema de archivos y los backends de caché basados en archivos en Django permite a un atacante provocar que los objetos del sistema de archivos se creen con permisos incorrectos a través de solicitudes concurrentes, donde el cambio temporal de 'umask' de un hilo afecta a otros hilos en entornos multihilo. Series de Django anteriores y no compatibles (como 5.0.x, 4.1.x y 3.2.x) no fueron evaluadas y también pueden verse afectadas. Django desea agradecer a Tarek Nakkouch por informar sobre este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-25674 changed 2026-03-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjgh-79qc-68w3 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-25674 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2449 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2026-25674 changed 2026-09-08Apache-2.0