{"id":"CVE-2026-25674","aliases":["CVE-2026-25674","GHSA-mjgh-79qc-68w3","BIT-DJANGO-2026-25674","PYSEC-2026-2449"],"related":[],"kind":"vulnerability","state":"published","title":"Potential incorrect permissions on newly created file system objects","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.\nRace 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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29.\nRace 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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en 6.0 anterior a 6.0.3, 5.2 anterior a 5.2.12 y 4.2 anterior a 4.2.29.\nUna condición de carrera en el almacenamiento del sistema de archivos y los backends de caché basados en archivos en Django permite a un atacante provocar que los objetos del sistema de archivos se creen con permisos incorrectos a través de solicitudes concurrentes, donde el cambio temporal de 'umask' de un hilo afecta a otros hilos en entornos multihilo.\nSeries de Django anteriores y no compatibles (como 5.0.x, 4.1.x y 3.2.x) no fueron evaluadas y también pueden verse afectadas.\nDjango desea agradecer a Tarek Nakkouch por informar sobre este problema.","source":"nvd"}],"published":"2026-03-03T14:28:37.751Z","modified":"2026-09-10T03:50:39.941Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"semver","introduced":"6.0","fixed":"6.0.3","status":"affected"},{"type":"semver","version":"6.0.3","status":"unaffected"},{"type":"semver","introduced":"5.2","fixed":"5.2.12","status":"affected"},{"type":"semver","version":"5.2.12","status":"unaffected"},{"type":"semver","introduced":"4.2","fixed":"4.2.29","status":"affected"},{"type":"semver","version":"4.2.29","status":"unaffected"}],"vendor":"djangoproject","product":"Django","package":"django","repo":"https://github.com/django/django/","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0","status":"affected","fixed":"6.0.3"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2","status":"affected","fixed":"5.2.12"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.29"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.2.29"},{"status":"affected","introduced":"5.2","fixed":"5.2.12"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.29"},{"type":"ecosystem","introduced":"5.2","status":"affected","fixed":"5.2.12"},{"type":"ecosystem","introduced":"6.0","status":"affected","fixed":"6.0.3"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.29"},{"type":"semver","introduced":"5.2.0","status":"affected","fixed":"5.2.12"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.3"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://groups.google.com/g/django-announce","tags":["article","mailing-list","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2026/mar/03/security-releases/","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25674","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://www.djangoproject.com/weblog/2026/mar/03/security-releases","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/django","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-mjgh-79qc-68w3","tags":["advisory"],"sources":["pysec"]}],"credits":["Tarek Nakkouch","Natalia Bidart"],"assigner":"DSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-03T15:27:07.815Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25674","url":"https://www.cve.org/CVERecord?id=CVE-2026-25674","licence":"CVE Terms of Use","modified":"2026-03-03T15:27:10.815Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mjgh-79qc-68w3","url":"https://github.com/advisories/GHSA-mjgh-79qc-68w3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:39.941Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25674","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25674","licence":"Public domain","modified":"2026-06-17T10:25:02.560Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2449","url":"https://osv.dev/vulnerability/PYSEC-2026-2449","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:07.500Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2026-25674","url":"https://osv.dev/vulnerability/BIT-DJANGO-2026-25674","licence":"Apache-2.0","modified":"2026-09-08T08:46:33.605Z"}],"updatedAt":"2026-11-25T22:59:15.128Z","epss":{"score":0.00367,"percentile":0.32581,"date":"2026-12-01T12:00:22.000Z"}}