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.
Published: 2026-07-23
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Extractor.extract function in Huggingface Datasets up to version 5.00. By pre‑creating predictable symbolic links in the shared cache directory, a local attacker can influence the extraction process to overwrite any file on the filesystem. This allows modification or replacement of sensitive files, with the potential for privilege escalation or code execution. The weakness is a classic file‑write via symlink manipulation (CWE-61).

Affected Systems

Affected systems are installations of Huggingface Datasets versions up to 5.00, including any environments that employ shared‑cache handling for dataset downloads. The CVE entry references the commit that fixed the issue (ad2d853) but no vendors other than Huggingface are listed. Upgrading to a release that incorporates this commit resolves the flaw.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity. EPSS is below 1%, suggesting a very low probability of exploitation in the wild. The vulnerability is not listed in CISA KEV and requires local access to the machine that hosts the shared cache. Attackers would need to have a foothold on the system to pre‑plant symlinks, so the attack surface is limited to compromised accounts or malicious code with cache write privileges.

Generated by OpenCVE AI on August 2, 2026 at 15:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Huggingface Datasets to a version that includes commit ad2d853 or later.
  • Configure dataset cache directories to be isolated per user or to use directories with restricted write permissions to prevent symlink placement.
  • Remove any existing symlinks from the cache or verify the integrity of extracted files before use.
  • Disable the use of a shared cache mode if it is not required.

Generated by OpenCVE AI on August 2, 2026 at 15:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Huggingface
Huggingface datasets
Vendors & Products Huggingface
Huggingface datasets

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Datasets Symlink-following Arbitrary File Write via Extractor.extract()
Weaknesses CWE-61
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 4.4, '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'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Huggingface Datasets
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-24T21:35:11.441Z

Reserved: 2026-07-21T11:32:54.897Z

Link: CVE-2026-65010

cve-icon Vulnrichment

Updated: 2026-07-23T19:09:49.289Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T19:17:03.890

Modified: 2026-07-23T20:17:21.540

Link: CVE-2026-65010

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-23T17:55:52Z

Links: CVE-2026-65010 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T15:30:17Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following