ClearML CVE-2025-8917
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft tar archive with malicious symlink
-
DeliveryUpload as ClearML artifact/model
-
ExploitVictim downloads and extracts package
-
Executionsafe_extract follows link outside dir
-
ImpactOverwrite critical file enabling code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker to supply a tar archive (such as a ClearML artifact, model, or dataset package) containing a symbolic or hard link whose target escapes the extraction directory, and requires a victim user or pipeline to extract that archive through the vulnerable |
| Impact | This is a genuine but lower-tier vulnerability whose signals point to limited real-world risk despite the 'RCE' tag. The provided CVSS:3.0 vector (AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N, 5.8 medium) describes a local, privileged, user-interaction-dependent file-write flaw in ClearML's |
| Exploit ScenarioDerived | An attacker with a ClearML account crafts a malicious tar artifact (e.g., a model or dataset package) containing a symbolic or hard link whose target points outside the extraction directory. When a victim user or automated pipeline downloads and extracts that artifact via the vulnerable |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Path traversal in ClearML v2.0.1 (allegroai/clearml) allows a crafted tar archive containing a symbolic or hard link to write files outside the intended extraction directory, which can overwrite security-critical files and lead to remote code execution. The flaw is in the safe_extract function in clearml/storage/util.py, which checked each archive member's own path but never validated the target of symlink or hardlink members. Per the assessed vector this is a local operation requiring an authenticated user and mandatory extraction (UI:R), and although the advisory carries an 'RCE' tag there is no public exploit code identified at time of analysis and the CVE is not in CISA KEV, so real-world risk is limited to cases where an attacker can plant a malicious artifact, model, or dataset package that a victim then extracts.
RemediationAI
Apply the upstream fix by upgrading ClearML to a release that contains commit 64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73 (the commit adds link-target validation to safe_extract); this is an upstream fix available (PR/commit) and a released patched version number is not independently confirmed in the provided data, so verify the fix is present in the wheel/tag you deploy rather than assuming a specific version. If immediate upgrade is not possible, compensate specifically: refuse to extract tar archives from untrusted or third-party sources through ClearML storage utilities, and where you must handle them, pre-scan the archive and reject any member where member.issym() or member.islnk() is true or where the resolved linkname escapes the destination - trade-off is that legitimate archives using symlinks (e.g. framework snapshots) will be blocked. Alternatively, run extraction inside a container or sandbox whose writable filesystem is confined to the intended extraction directory with everything else mounted read-only, which neutralizes arbitrary-write impact but adds operational overhead and can break pipelines that expect to write outside the temp directory. Finally, restrict who can publish artifacts, models and datasets into ClearML and treat the extraction step as a trust boundary, since exploitation requires a victim (authenticated user, per the assessed PR:L vector) to actively extract the attacker-supplied archive and depends on overwriting a security-critical file for full code execution.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is ClearML's Python archive-extraction helper safe_extract in clearml/storage/util.py, which wraps Python's tarfile module. The function is a classic instance of CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): it joined each tar member's name to the destination and verified the result with is_within_directory, but it treated symlink (member.issym()) and hardlink (member.islnk()) members as ordinary files. Because it never resolved member.linkname against the base directory, an archive could contain a link whose target pointed outside the extraction root; a subsequent member could then be written through that link, escaping the sandbox and overwriting arbitrary files on the host. The upstream fix (commit 64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73) normalizes the extraction base with os.path.abspath, resolves both the member path and the link target against that base, rejects any link whose target escapes the directory, and passes path=base_dir to tar.extractall. ClearML is an ML/AI experiment-tracking and orchestration platform where artifacts, models and datasets are routinely exchanged as archives, which is exactly the delivery channel this bug exploits; the affected surface is Python tooling that extracts generated tar archives (v2.0.1 and earlier unpatched builds). No CPE strings were supplied in the intelligence feed, so affected platforms should be identified by package/version rather than CPE.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Local tar extraction (AV:L) triggered by a victim (UI:R); any authenticated user can upload a malicious artifact (PR:L); arbitrary file write enabling RCE justifies full C/I/A impact.
Primary rating from Vendor (huntr).
CVSS VectorVendor: huntr
DescriptionCVE.org
A vulnerability in allegroai/clearml version v2.0.1 allows for path traversal due to improper handling of symbolic and hard links in the safe_extract function. This flaw can lead to arbitrary file writes outside the intended directory, potentially resulting in remote code execution if critical files are overwritten.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
NVD
CVE.org
EPSS
GitHub
Exploit-DB