{"id":"CVE-2026-25674","state":"PUBLISHED","title":"Potential incorrect permissions on newly created file system objects","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.\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.","publishedAt":"2026-03-03T14:28:37.751Z","updatedAt":"2026-03-03T15:27:10.815Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"DSF","products":["djangoproject Django"],"affected":[{"vendor":"djangoproject","product":"Django","packageName":"django","defaultStatus":"unaffected","versions":[{"version":"6.0","status":"affected","lessThan":"6.0.3","versionType":"semver"},{"version":"6.0.3","status":"unaffected","versionType":"semver"},{"version":"5.2","status":"affected","lessThan":"5.2.12","versionType":"semver"},{"version":"5.2.12","status":"unaffected","versionType":"semver"},{"version":"4.2","status":"affected","lessThan":"4.2.29","versionType":"semver"},{"version":"4.2.29","status":"unaffected","versionType":"semver"}],"collectionURL":"https://pypi.org/project/Django/","repo":"https://github.com/django/django/"}],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2026/mar/03/security-releases/"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25674.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25674","state":"PUBLISHED","datePublished":"2026-03-03T14:28:37.751Z","dateUpdated":"2026-03-03T15:27:10.815Z","assignerShortName":"DSF","assignerOrgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","dateReserved":"2026-02-04T18:27:10.658Z"},"containers":{"cna":{"title":"Potential incorrect permissions on newly created file system objects","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"djangoproject","product":"Django","packageName":"django","defaultStatus":"unaffected","versions":[{"version":"6.0","status":"affected","lessThan":"6.0.3","versionType":"semver"},{"version":"6.0.3","status":"unaffected","versionType":"semver"},{"version":"5.2","status":"affected","lessThan":"5.2.12","versionType":"semver"},{"version":"5.2.12","status":"unaffected","versionType":"semver"},{"version":"4.2","status":"affected","lessThan":"4.2.29","versionType":"semver"},{"version":"4.2.29","status":"unaffected","versionType":"semver"}],"collectionURL":"https://pypi.org/project/Django/","repo":"https://github.com/django/django/"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","name":"Django security archive","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","name":"Django releases announcements","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/mar/03/security-releases/","name":"Django security releases issued: 6.0.3, 5.2.12, and 4.2.29","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"value":"low","namespace":"https://docs.djangoproject.com/en/dev/internals/security/#security-issue-severity-levels"},"type":"Django severity rating"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]}],"providerMetadata":{"shortName":"DSF","orgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","dateUpdated":"2026-03-03T14:28:37.751Z"},"impacts":[{"capecId":"CAPEC-26","descriptions":[{"lang":"en","value":"CAPEC-26: Leveraging Race Conditions"}]}],"credits":[{"lang":"en","type":"reporter","value":"Tarek Nakkouch"},{"lang":"en","type":"remediation developer","value":"Natalia Bidart"},{"lang":"en","type":"coordinator","value":"Natalia Bidart"}],"timeline":[{"lang":"en","time":"2026-01-20T12:00:00.000Z","value":"Initial report received."},{"lang":"en","time":"2026-02-20T12:00:00.000Z","value":"Vulnerability confirmed."},{"lang":"en","time":"2026-03-03T08:00:00.000Z","value":"Security release issued."}],"datePublic":"2026-03-03T08:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":3.7,"attackVector":"NETWORK","baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-03T15:27:07.815602Z","id":"CVE-2026-25674","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-03T15:27:10.815Z"}}]}}}