
CVE catalog
CVE-2026-25674
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 sy
- Severity
- Medium · CVSS 4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 25, 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | vulnerable |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | vulnerable |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | vulnerable |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | vulnerable |
| Cpe | python-django | Not reported | Not reported | vulnerable |
| PyPI | Django | Not reported | 6.0.3 | fixed |
| PyPI | Django | Not reported | 5.2.12 | fixed |
| PyPI | Django | Not reported | 4.2.29 | fixed |
| Opensuse | python-Django | leap 16.0 | 5.2.4-bp160.6.1 | fixed |
| Opensuse | python-Django6 | tumbleweed | 6.0.3-1.1 | fixed |
| Opensuse | python-Django4 | tumbleweed | 4.2.29-1.1 | fixed |
| Opensuse | python-Django | tumbleweed | 5.2.12-1.1 | fixed |
| Suse | python-Django | linux enterprise module for package hub 15 sp7 | 4.2.11-150600.3.50.1 | fixed |
| Opensuse | python-Django | leap 15.6 | 4.2.11-150600.3.50.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:4.2.29-1 | not yet assigned | Not reported | [1129595] |
| Debian | python-django | source | forky | 3:4.2.29-1 | not yet assigned | Not reported | [1129595] |
| Debian | python-django | source | trixie | (unfixed) | not yet assigned | Not reported | [1129595] |
| Debian | python-django | source | bookworm | (unfixed) | not yet assigned | Not reported | [1129595] |
| PyPI | Django | PyPI | Not reported | 6.0.3 | Not reported | Not reported | Not reported |
| PyPI | Django | PyPI | Not reported | 5.2.12 | Not reported | Not reported | Not reported |
| PyPI | Django | PyPI | Not reported | 4.2.29 | Not reported | Not reported | Not reported |
| Opensuse | python-Django | rpm | leap 16.0 | 5.2.4-bp160.6.1 | Not reported | OPENSUSE-SU-2026:20373-1 | Not reported |
| Opensuse | python-Django6 | rpm | tumbleweed | 6.0.3-1.1 | Not reported | OPENSUSE-SU-2026:10283-1 | Not reported |
| Opensuse | python-Django4 | rpm | tumbleweed | 4.2.29-1.1 | Not reported | OPENSUSE-SU-2026:10282-1 | Not reported |
| Opensuse | python-Django | rpm | tumbleweed | 5.2.12-1.1 | Not reported | OPENSUSE-SU-2026:10292-1 | Not reported |
| Suse | python-Django | rpm | linux enterprise module for package hub 15 sp7 | 4.2.11-150600.3.50.1 | Not reported | SUSE-SU-2026:0821-1 | Not reported |
| Opensuse | python-Django | rpm | leap 15.6 | 4.2.11-150600.3.50.1 | Not reported | SUSE-SU-2026:0821-1 | Not reported |
Notes
[trixie] python-django: Minor issue [bookworm] python-django: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
[openSUSE Tumbleweed]
- [python313-Django]Unknown
Source package: [python-Django]
Details (1)
6.0.8-1.1· noarch · tumbleweedUnknown · Fixed:
5.2.12-1.1Version impact unknown
nvd · python-Django · opensuse · tumbleweed
- [python313-Django4]Unknown
Source package: [python-Django4]
Details (1)
4.2.30-5.1· noarch · tumbleweedUnknown · Fixed:
4.2.29-1.1Version impact unknown
nvd · python-Django4 · opensuse · tumbleweed
- [python314-Django]Unknown
Source package: [python-Django]
Details (1)
6.0.8-1.1· noarch · tumbleweedUnknown · Fixed:
5.2.12-1.1Version impact unknown
nvd · python-Django · opensuse · tumbleweed
- [python314-Django4]Unknown
Source package: [python-Django4]
Details (1)
4.2.30-5.1· noarch · tumbleweedUnknown · Fixed:
4.2.29-1.1Version impact unknown
nvd · python-Django4 · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11270-1.json]
- [https://github.com/advisories/GHSA-mjgh-79qc-68w3]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-25674]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-25674]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0821-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10282-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10283-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10292-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20373-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-25674]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25674.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0579.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]