{"id":"CVE-2026-25674","published":"2026-03-03T14:28:37Z","modified":"2026-03-03T15:27:10Z","title":"Potential incorrect permissions on newly created file system objects","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29.\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.\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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00374,"percentile":0.23363,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/mar/03/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":4.67},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.3",">= 5.2, < 5.2.12",">= 4.2, < 4.2.29"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.3","5.2.12","4.2.29"]}],"capec":[{"id":"CAPEC-26","name":"Leveraging Race Conditions"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-03T15:27:07.815602Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=6.0, <6.0.3",">=5.2, <5.2.12",">=4.2, <4.2.29"],"patched":["6.0.3","5.2.12","4.2.29"],"from":["GHSA-mjgh-79qc-68w3","PYSEC-2026-2449"],"provenance":"source"}],"summary":{"text":"A race condition in Django's file-system storage and file-based cache backends lets concurrent requests cause files and directories to be created with incorrect permissions, because one thread's temporary umask change affects other threads in multi-threaded environments. An unauthenticated remote attacker can trigger this by sending concurrent requests that exercise these backends, with high attack complexity needed to win the timing race.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:09Z"},"euvd":{"id":"EUVD-2026-9295","exploited":false,"provenance":"source"}}