CVE-2026-25674
Fixed in a distro release EPSS <1%CVSS 3.7
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.
Products: djangoproject django
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | django | 6.0.3 |
| PyPI | django | 5.2.12 |
| PyPI | django | 4.2.29 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | authentik-fips | 2026.2.1-r0 |
| Chainguard | awx | 24.6.1-r30 |
| Chainguard | label-studio | 1.22.0-r7 |
| Debian 12 | python-django | no fix |
| Debian 13 | python-django | no fix |
| Debian 14 | python-django | 3:4.2.29-1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | python-Django | 4.2.11-150600.3.50.1 |
| Ubuntu 22.04 LTS | python-django | no fix |
| Ubuntu 24.04 LTS | python-django | no fix |
| Ubuntu 25.10 | python-django | no fix |
| Ubuntu 26.04 LTS | python-django | no fix |
| Ubuntu 26.10 | python-django | no fix |
| Ubuntu Pro 14.04 LTS | python-django | no fix |
| Ubuntu Pro 16.04 LTS | python-django | no fix |
| Ubuntu Pro 18.04 LTS | python-django | no fix |
| Ubuntu Pro 20.04 LTS | python-django | no fix |
| openSUSE Leap 15.6 | python-Django | 4.2.11-150600.3.50.1 |
| openSUSE Leap 16.0 | python-Django | 5.2.4-bp160.6.1 |
| openSUSE Tumbleweed | python-Django | 5.2.12-1.1 |
| openSUSE Tumbleweed | python-Django4 | 4.2.29-1.1 |
| openSUSE Tumbleweed | python-Django5 | 5.2.16-1.1 |
| openSUSE Tumbleweed | python-Django6 | 6.0.3-1.1 |