CVE-2026-65010: UNIX Symbolic Link (Symlink) Following in huggingface datasets
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.
AI Analysis
Technical Summary
The huggingface datasets library versions up to and including 5.00 contain a symlink-following vulnerability in the Extractor.extract() method. This vulnerability allows local attackers to pre-plant symbolic links at predictable output locations, causing the extraction process to follow these symlinks and write files to arbitrary filesystem paths. This behavior can be exploited in shared-cache environments to overwrite sensitive files, which may lead to privilege escalation or code execution. The vulnerability is addressed in a commit identified as ad2d853, but no official patch or vendor advisory details are provided in the input data.
Potential Impact
Local attackers can exploit this vulnerability to overwrite arbitrary files on the filesystem by leveraging symbolic links during archive extraction. This can result in modification or replacement of sensitive files, potentially leading to privilege escalation or remote code execution in environments where shared caches are used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is reportedly fixed in commit ad2d853; therefore, upgrading to a version including this fix is recommended once available. Until then, avoid running extraction processes in shared-cache environments with untrusted archives or inputs.
CVE-2026-65010: UNIX Symbolic Link (Symlink) Following in huggingface datasets
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.
CVSS v4.0
Score 4.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The huggingface datasets library versions up to and including 5.00 contain a symlink-following vulnerability in the Extractor.extract() method. This vulnerability allows local attackers to pre-plant symbolic links at predictable output locations, causing the extraction process to follow these symlinks and write files to arbitrary filesystem paths. This behavior can be exploited in shared-cache environments to overwrite sensitive files, which may lead to privilege escalation or code execution. The vulnerability is addressed in a commit identified as ad2d853, but no official patch or vendor advisory details are provided in the input data.
Potential Impact
Local attackers can exploit this vulnerability to overwrite arbitrary files on the filesystem by leveraging symbolic links during archive extraction. This can result in modification or replacement of sensitive files, potentially leading to privilege escalation or remote code execution in environments where shared caches are used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is reportedly fixed in commit ad2d853; therefore, upgrading to a version including this fix is recommended once available. Until then, avoid running extraction processes in shared-cache environments with untrusted archives or inputs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-21T11:32:54.897Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a625bf69c2644c7f881d7ce
Added to database: 07/23/2026, 18:22:46 UTC
Last enriched: 07/23/2026, 18:37:15 UTC
Last updated: 07/23/2026, 19:22:46 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.