Race Condition Affecting django package, versions [4.2a1,4.2.29)[5.2a1,5.2.12)[6.0a1,6.0.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-15371388
  • published4 Mar 2026
  • disclosed3 Mar 2026
  • creditTarek Nakkouch

Introduced: 3 Mar 2026

CVE-2026-25674  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Django to version 4.2.29, 5.2.12, 6.0.3 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Race Condition in the file-system storage and file-based cache backends that use umask process in multi-threaded environments. An attacker can manipulate file system object permissions by making concurrent requests, potentially leading to unauthorized access or modification of files.

CVSS Base Scores

version 4.0
version 3.1