Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in Django
CVE-2026-25674
- Django
Summary
Django contains a race condition vulnerability in file-system storage and file-based cache backends. Concurrent requests may cause file system objects to be created with incorrect permissions due to a temporary "umask" change in one thread affecting other threads in multi-threaded environments. This issue affects Django versions through 4.2.28 , 5.X through 5.2.11 and 6.X through 6.0.2. This issue is fixed in versions 6.0.3, 5.2.12, and 4.2.29.
- HIGH
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- LOW
- NONE
CWE-362 - Race Condition
A race condition occurs in a shared memory program when two threads/processes access the same shared memory data, and at least one thread executes a write operation. This vulnerability manipulates the time to check vs. time to use (TOC/TOU) gap between the threads in the critical section to cause disorientation in the shared data. The impact can vary from compromising the confidentiality of the system to causing the system to crash or to execute arbitrary code.
References
Advisory Timeline
- Published