CVE-2026-25674
March 03, 2026
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.
Affected Packages
https://github.com/django/django.git (GITHUB):
Affected version(s) >=5.2a1 <5.2.12Fix Suggestion:
Update to version 5.2.12https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0a1 <6.0.3Fix Suggestion:
Update to version 6.0.3https://github.com/django/django.git (GITHUB):
Affected version(s) >=4.2a1 <4.2.29Fix Suggestion:
Update to version 4.2.29django (PYTHON):
Affected version(s) >=4.2 <4.2.29Fix Suggestion:
Update to version 4.2.29django (PYTHON):
Affected version(s) >=6.0 <6.0.3Fix Suggestion:
Update to version 6.0.3django (PYTHON):
Affected version(s) >=4.2 <4.2.29Fix Suggestion:
Update to version 4.2.29django (PYTHON):
Affected version(s) >=5.2 <5.2.12Fix Suggestion:
Update to version 5.2.12django (PYTHON):
Affected version(s) >=5.2 <5.2.12Fix Suggestion:
Update to version 5.2.12django (PYTHON):
Affected version(s) >=6.0 <6.0.3Fix Suggestion:
Update to version 6.0.3Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
EPSS
Base Score:
0.03