CVE-2026-25674 json
Potential incorrect permissions on newly created file system objects
published 2026-03-03 8 mo ago modified 2026-09-10 59 d ago also BIT-django-2026-25674 , EUVD-2026-9295 , GHSA-mjgh-79qc-68w3 , PYSEC-2026-2449
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 4.2.29, 5.2.12, 6.0.3
- bitnami django 4.2.29, 5.2.12, 6.0.3
- djangoproject Django 4.2.29, 5.2.12, 6.0.3
- python-django Debian 14 3:4.2.29-1
debian advisories DEBIAN-CVE-2026-25674
- python-Django SLE Module for Package Hub 15 SP7, openSUSE Leap 15.6 4.2.11-150600.3.50.1
suse advisories SUSE-SU-2026:0821-1
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Leap 16.0 5.2.4-bp160.6.1
- python-Django openSUSE Tumbleweed 5.2.12-1.1
- python-Django4 openSUSE Tumbleweed 4.2.29-1.1
- python-Django6 openSUSE Tumbleweed 6.0.3-1.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:20373-1openSUSE-SU-2026:10292-1openSUSE-SU-2026:10282-1openSUSE-SU-2026:10283-1
- py3-django Alpine 3.23 4.2.29-r0
alpine advisories ALPINE-CVE-2026-25674
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-25674 updated cvss 3.7
django: Django: Incorrect file permissions due to race condition
-
Red Hat Ansible Automation Platform 2 automation-controller, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-26/controller-rhel9, +4 more Red Hat Discovery 2 discovery/discovery-server-rhel9 Red Hat Satellite 6 satellite/iop-advisor-backend-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=6.0, <6.0.3 >=5.2, <5.2.12 >=4.2, <4.2.29 |
6.0.3 5.2.12 4.2.29 |
| bitnami | django | >=4.2.0, <4.2.29 >=5.2.0, <5.2.12 >=6.0.0, <6.0.3 |
4.2.29 5.2.12 6.0.3 |
Affected products
- djangoproject Django
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, patch, advisory
-
djangoproject.com
/weblog/2026/mar/03/security-releases/
vendor-advisory, patch, advisory
-
groups.google.com
/g/django-announce
mailing-list, web, release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2026-25674
advisory, web
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/django/django
package
-
djangoproject.com
/weblog/2026/mar/03/security-releases
web
-
pypi.org
/project/django
package
-
github.com
/advisories/GHSA-mjgh-79qc-68w3
advisory
Sources
- CVE List CVE-2026-25674
- GitHub Advisory GHSA-mjgh-79qc-68w3
- NVD CVE-2026-25674
- OSV BIT-django-2026-25674
- OSV PYSEC-2026-2449
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.