CVE-2026-25674

Potential incorrect permissions on newly created file system objects

State
Published
Severity
3.7 Low
Published
Mar 3, 2026
Updated
Mar 3, 2026
Reserved
Feb 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
Djangodjangoproject
  • 6.0 to before 6.0.3Affected
  • 6.0.3Not affected
  • 5.2 to before 5.2.12Affected
  • 5.2.12Not affected
  • 4.2 to before 4.2.29Affected
  • 4.2.29Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.