{"id":"CVE-2026-25674","aliases":["GHSA-mjgh-79qc-68w3","BIT-django-2026-25674","PYSEC-2026-2449"],"title":"Django has a Race Condition vulnerability","summary":"Django has a Race Condition vulnerability","severity":"low","cvss":3.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","vendor":"django","product":"django","ecosystem":"pip","affected":["django >= 6.0, < 6.0.3","django >= 5.2, < 5.2.12","django >= 4.2, < 4.2.29"],"patched":["django 6.0.3","django 5.2.12","django 4.2.29"],"published":"2026-03-03","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:39.941187426Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-mjgh-79qc-68w3","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25674"},{"url":"https://docs.djangoproject.com/en/dev/releases/security"},{"url":"https://github.com/django/django"},{"url":"https://groups.google.com/g/django-announce"},{"url":"https://www.djangoproject.com/weblog/2026/mar/03/security-releases"}],"tags":["osv","pip"],"epss":0.00341,"epssPercentile":0.27628,"ingestedAt":"2026-07-13T18:58:00.701Z","slug":"CVE-2026-25674","body":"## Overview\n\nAn issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29.\n\nRace 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.\n\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.\n\n## Affected packages\n\n- `django >= 6.0, < 6.0.3`\n- `django >= 5.2, < 5.2.12`\n- `django >= 4.2, < 4.2.29`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `django 6.0.3`\n- `django 5.2.12`\n- `django 4.2.29`","depth":"sunlit","depthScore":20,"depthScoreParts":{"impact":20.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}