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 package | Versions | Reported by |
|---|---|---|
| django | from 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.29 | GitHub Advisory Database, PyPA Advisory Database |
| djangoproject django | from 4.2.0 before 4.2.29, from 5.2 before 5.2.12, from 6.0 before 6.0.3 | NVD |
| 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.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
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
| https://docs.djangoproject.com/en/dev/releases/security/ | advisory, patch, vendor-advisory | |
| https://groups.google.com/g/django-announce | article, mailing-list, release-notes, web | |
| https://www.djangoproject.com/weblog/2026/mar/03/security-releases/ | advisory, patch, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-25674 | advisory, web | |
| https://docs.djangoproject.com/en/dev/releases/security | web | |
| https://github.com/django/django | package | |
| https://www.djangoproject.com/weblog/2026/mar/03/security-releases | web | |
| https://pypi.org/project/django | package | |
| https://github.com/advisories/GHSA-mjgh-79qc-68w3 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25674 changed 2026-03-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mjgh-79qc-68w3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-25674 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2449 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-DJANGO-2026-25674 changed 2026-09-08 | Apache-2.0 |