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

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2vulnerable
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1vulnerable
Debianpython-djangobookworm3:3.2.25-0+deb12u3vulnerable
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6vulnerable
Cpepython-djangoNot reportedNot reportedvulnerable
PyPIDjangoNot reported6.0.3fixed
PyPIDjangoNot reported5.2.12fixed
PyPIDjangoNot reported4.2.29fixed
Opensusepython-Djangoleap 16.05.2.4-bp160.6.1fixed
Opensusepython-Django6tumbleweed6.0.3-1.1fixed
Opensusepython-Django4tumbleweed4.2.29-1.1fixed
Opensusepython-Djangotumbleweed5.2.12-1.1fixed
Susepython-Djangolinux enterprise module for package hub 15 sp74.2.11-150600.3.50.1fixed
Opensusepython-Djangoleap 15.64.2.11-150600.3.50.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid3:4.2.29-1not yet assignedNot reported[1129595]
Debianpython-djangosourceforky3:4.2.29-1not yet assignedNot reported[1129595]
Debianpython-djangosourcetrixie(unfixed)not yet assignedNot reported[1129595]
Debianpython-djangosourcebookworm(unfixed)not yet assignedNot reported[1129595]
PyPIDjangoPyPINot reported6.0.3Not reportedNot reportedNot reported
PyPIDjangoPyPINot reported5.2.12Not reportedNot reportedNot reported
PyPIDjangoPyPINot reported4.2.29Not reportedNot reportedNot reported
Opensusepython-Djangorpmleap 16.05.2.4-bp160.6.1Not reportedOPENSUSE-SU-2026:20373-1Not reported
Opensusepython-Django6rpmtumbleweed6.0.3-1.1Not reportedOPENSUSE-SU-2026:10283-1Not reported
Opensusepython-Django4rpmtumbleweed4.2.29-1.1Not reportedOPENSUSE-SU-2026:10282-1Not reported
Opensusepython-Djangorpmtumbleweed5.2.12-1.1Not reportedOPENSUSE-SU-2026:10292-1Not reported
Susepython-Djangorpmlinux enterprise module for package hub 15 sp74.2.11-150600.3.50.1Not reportedSUSE-SU-2026:0821-1Not reported
Opensusepython-Djangorpmleap 15.64.2.11-150600.3.50.1Not reportedSUSE-SU-2026:0821-1Not reported

[Debian bug #1129595]

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 · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      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 · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-Django]

    Details (1)
    • 6.0.8-1.1 · noarch · tumbleweed

      Unknown · Fixed: 5.2.12-1.1

      Version impact unknown

      nvd · python-Django · opensuse · tumbleweed

  • Source package: [python-Django4]

    Details (1)
    • 4.2.30-5.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.29-1.1

      Version impact unknown

      nvd · python-Django4 · opensuse · tumbleweed

  • Source package: [python-Django]

    Details (1)
    • 6.0.8-1.1 · noarch · tumbleweed

      Unknown · Fixed: 5.2.12-1.1

      Version impact unknown

      nvd · python-Django · opensuse · tumbleweed

  • Source package: [python-Django4]

    Details (1)
    • 4.2.30-5.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.29-1.1

      Version impact unknown

      nvd · python-Django4 · opensuse · tumbleweed

Observed:

References