{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ad2d853ae2ce41d8068c23b44c2e29004312ccee"
            }
          ],
          "repo": "https://github.com/huggingface/datasets",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-61"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65010.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "5.00"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "5.00"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Datasets through 5.00, fixed in commit ad2d853, contains a symlink-following vulnerability in Extractor.extract() that allows local attackers to write arbitrary files by pre-planting symlinks at predictable output paths. Attackers can redirect archive extraction to arbitrary filesystem locations in shared-cache environments, enabling overwrite of sensitive files and potential privilege escalation or code execution.",
  "id": "CVE-2026-65010",
  "modified": "2026-08-12T03:51:47.058704606Z",
  "published": "2026-07-23T17:55:52.165Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65010.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65010"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/datasets-symlink-following-arbitrary-file-write-via-extractor-extract"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/huggingface/datasets/issues/8296"
    },
    {
      "type": "FIX",
      "url": "https://github.com/huggingface/datasets/commit/ad2d853ae2ce41d8068c23b44c2e29004312ccee"
    },
    {
      "type": "FIX",
      "url": "https://github.com/huggingface/datasets/pull/8303"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/huggingface/datasets"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Datasets Symlink-following Arbitrary File Write via Extractor.extract()"
}