{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.39.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a3608b512ed7248499a44c61d954965ed9bdae4d"
            },
            {
              "fixed": "cee298c1f37c439a9a408396b8283a921238a1c6"
            }
          ],
          "repo": "https://github.com/huggingface/diffusers",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65920.json"
  },
  "details": "Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to read arbitrary files by supplying malicious weight_map values in model index JSON. Attackers can use ../ sequences or absolute paths in weight_map entries to escape the model directory and read safetensors files outside the intended location during model loading.",
  "id": "CVE-2026-65920",
  "modified": "2026-07-25T03:56:12.735364706Z",
  "published": "2026-07-23T17:43:56.238Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65920.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65920"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/huggingface/diffusers/issues/14175"
    },
    {
      "type": "FIX",
      "url": "https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/huggingface/diffusers/pull/14182"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/huggingface/diffusers"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Diffusers Path Traversal via weight_map Arbitrary File Read"
}