Vulnerability PYSEC-2026-2449

Low Risk
LOW RISK
CVSS Score: 3.7
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
3 months ago
July 13, 2026 at 02:36 PM UTC
Django has a Race Condition vulnerability
4.2 - 4.2.28 and 5.2 - 5.2.11 and 6.0 - 6.0.2
4.2 - 4.2.28 and 5.2 - 5.2.11 and 6.0 - 6.0.2

Summary

Django has a Race Condition vulnerability

Details

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.

Impacted packages

Timeline

Published
3 months ago
July 13, 2026 at 02:36 PM UTC
Fixed (6.0.3)
8 months ago
March 03, 2026 at 01:55 PM UTC
Fixed (5.2.12)
8 months ago
March 03, 2026 at 01:56 PM UTC
Fixed (4.2.29)
8 months ago
March 03, 2026 at 01:56 PM UTC
Last Modified
3 months ago
July 13, 2026 at 04:43 PM UTC