CVE-2026-25674
LOW 3.7CVSS 3.1Django has a Race Condition vulnerability
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.
- Published
- 3 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
- NVD status
- Analyzed
- Weakness
- CWE-362
- Also known as
- BIT-django-2026-25674GHSA-mjgh-79qc-68w3PYSEC-2026-2449
- Sources
- NVDJSONOSV GHSA-mjgh-79qc-68w3JSONOSV PYSEC-2026-2449JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.29 | 4.2.29 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.2, < 5.2.12 | 5.2.12 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 6.0, < 6.0.3 | 6.0.3 |
| OSV | PyPI | django | >= 6.0, < 6.0.3 | 6.0.3 |
| OSV | PyPI | django | >= 5.2, < 5.2.12 | 5.2.12 |
| OSV | PyPI | django | >= 4.2, < 4.2.29 | 4.2.29 |
| OSV | PyPI | django | >= 4.2, < 4.2.29; >= 5.2, < 5.2.12; >= 6.0, < 6.0.3 | 4.2.29, 5.2.12, 6.0.3 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory, WEB
- https://groups.google.com/g/django-announce · Release Notes, WEB
- https://www.djangoproject.com/weblog/2026/mar/03/security-releases/ · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25674 · ADVISORY
- https://github.com/django/django · PACKAGE
- https://pypi.org/project/django · PACKAGE
- https://github.com/advisories/GHSA-mjgh-79qc-68w3 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2026)