CVE-2026-65010 Details
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.
A symlink-following vulnerability has been identified in the Hugging Face Datasets library, specifically in versions through 5.00. This vulnerability allows local attackers to write arbitrary files by pre-planting symlinks at predictable output paths. The issue arises in the Extractor.extract() function, where the extraction process follows symlinks, enabling attackers to redirect archive contents to sensitive filesystem locations. This could lead to overwriting important files and potentially escalate privileges or execute code.
Users can update to version 5.0.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 23, 2026CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/huggingface/datasets/commit/ad2d853ae2ce41d8068c23b44c2e29004312ccee | [email protected] | Source CodeVendor |
| https://github.com/huggingface/datasets/issues/8296 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/huggingface/datasets/pull/8303 | [email protected] | Issue TrackingVendor |
| https://www.vulncheck.com/advisories/datasets-symlink-following-arbitrary-file-write-via-extractor-extract | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Huggingface Datasets | <= 5.00 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2026 | New CVE Received | [email protected] |
Volerion