CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2026-25674

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Potential incorrect permissions on newly created file system objects

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.373% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:48.211ZFIRST EPSS
patchesverified2026-11-19T12:52:01.389ZOSV
affectedverified2026-11-19T12:01:47.871ZCVE Program
lifecycleverified2026-11-19T12:01:47.871ZCVE Program

Affected versions and configuration

djangoproject Django; default status: unaffected: 6.0 to < 6.0.3 [affected; scheme: semver]; 6.0.3 [unaffected; scheme: semver]; 5.2 to < 5.2.12 [affected; scheme: semver]; 5.2.12 [unaffected; scheme: semver]; 4.2 to < 4.2.29 [affected; scheme: semver]; 4.2.29 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

OSV · osv · full conditions
{
  "id": "GHSA-mjgh-79qc-68w3",
  "aliases": [
    "BIT-django-2026-25674",
    "CVE-2026-25674",
    "PYSEC-2026-2449"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.0"
            },
            {
              "fixed": "6.0.3"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "6.0",
        "6.0.1",
        "6.0.2"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-mjgh-79qc-68w3/GHSA-mjgh-79qc-68w3.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.2"
            },
            {
              "fixed": "5.2.12"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.2",
        "5.2.1",
        "5.2.10",
        "5.2.11",
        "5.2.2",
        "5.2.3",
        "5.2.4",
        "5.2.5",
        "5.2.6",
        "5.2.7",
        "5.2.8",
        "5.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-mjgh-79qc-68w3/GHSA-mjgh-79qc-68w3.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2"
            },
            {
              "fixed": "4.2.29"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "4.2",
        "4.2.1",
        "4.2.10",
        "4.2.11",
        "4.2.12",
        "4.2.13",
        "4.2.14",
        "4.2.15",
        "4.2.16",
        "4.2.17",
        "4.2.18",
        "4.2.19",
        "4.2.2",
        "4.2.20",
        "4.2.21",
        "4.2.22",
        "4.2.23",
        "4.2.24",
        "4.2.25",
        "4.2.26",
        "4.2.27",
        "4.2.28",
        "4.2.3",
        "4.2.4",
        "4.2.5",
        "4.2.6",
        "4.2.7",
        "4.2.8",
        "4.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-mjgh-79qc-68w3/GHSA-mjgh-79qc-68w3.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25674",
      "type": "ADVISORY"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2026/mar/03/security-releases",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "nvd_published_at": "2026-03-03T15:16:19Z",
    "github_reviewed_at": "2026-03-04T20:24:29Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2026-2449",
  "aliases": [
    "BIT-django-2026-25674",
    "CVE-2026-25674",
    "GHSA-mjgh-79qc-68w3"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "4.2"
            },
            {
              "fixed": "4.2.29"
            },
            {
              "introduced": "5.2"
            },
            {
              "fixed": "5.2.12"
            },
            {
              "introduced": "6.0"
            },
            {
              "fixed": "6.0.3"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "4.2",
        "4.2.1",
        "4.2.10",
        "4.2.11",
        "4.2.12",
        "4.2.13",
        "4.2.14",
        "4.2.15",
        "4.2.16",
        "4.2.17",
        "4.2.18",
        "4.2.19",
        "4.2.2",
        "4.2.20",
        "4.2.21",
        "4.2.22",
        "4.2.23",
        "4.2.24",
        "4.2.25",
        "4.2.26",
        "4.2.27",
        "4.2.28",
        "4.2.3",
        "4.2.4",
        "4.2.5",
        "4.2.6",
        "4.2.7",
        "4.2.8",
        "4.2.9",
        "5.2",
        "5.2.1",
        "5.2.10",
        "5.2.11",
        "5.2.2",
        "5.2.3",
        "5.2.4",
        "5.2.5",
        "5.2.6",
        "5.2.7",
        "5.2.8",
        "5.2.9",
        "6.0",
        "6.0.1",
        "6.0.2"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2026-2449.yaml"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25674",
      "type": "ADVISORY"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2026/mar/03/security-releases",
      "type": "WEB"
    },
    {
      "url": "https://pypi.org/project/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/advisories/GHSA-mjgh-79qc-68w3",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://github.com/django/django/",
      "vendor": "djangoproject",
      "product": "Django",
      "versions": [
        {
          "status": "affected",
          "version": "6.0",
          "lessThan": "6.0.3",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "6.0.3",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "5.2",
          "lessThan": "5.2.12",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "5.2.12",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "4.2",
          "lessThan": "4.2.29",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "4.2.29",
          "versionType": "semver"
        }
      ],
      "packageName": "django",
      "collectionURL": "https://pypi.org/project/Django/",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 3.7,
            "attackVector": "NETWORK",
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "HIGH",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-25674",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-03-03T15:27:07.815602Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-03-03T15:27:10.815Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel6.0.3Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel5.2.12Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel4.2.29Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history