# CVE-2026-25674: Potential incorrect permissions on newly created file system objects

- Severity: Low 3.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-03-03T14:28:37.751Z
- Modified: 2026-09-10T03:50:39.941Z
- Also known as: GHSA-mjgh-79qc-68w3, BIT-DJANGO-2026-25674, PYSEC-2026-2449
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- 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)
- django (PyPI): from 6.0 before 6.0.3; from 5.2 before 5.2.12; from 4.2 before 4.2.29
- djangoproject django: from 4.2.0 before 4.2.29; from 5.2 before 5.2.12; from 6.0 before 6.0.3
- 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

## Every score

- CISA-ADP: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Low

## 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

- CVE List: [CVE-2026-25674](https://www.cve.org/CVERecord?id=CVE-2026-25674), CVE Terms of Use, modified 2026-03-03
- GitHub Advisory Database: [GHSA-mjgh-79qc-68w3](https://github.com/advisories/GHSA-mjgh-79qc-68w3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-25674](https://nvd.nist.gov/vuln/detail/CVE-2026-25674), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2449](https://osv.dev/vulnerability/PYSEC-2026-2449), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-25674](https://osv.dev/vulnerability/BIT-DJANGO-2026-25674), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-25674 · Whole record: https://cve.day/CVE-2026-25674.json · Rebuilt by cve.day 2026-11-25T22:59:15.128Z
