CVE-2026-8387: ClearML ZIP Path Traversal & RCE Risk
ClearML, an open-source ML operations platform, contains a flaw in how it extracts compressed files from remote sources. When users download datasets, models, or artifacts, the system unpacks `.zip` files without properly validating file paths. An attacker can craft a malicious archive containing specially-named files that, when extracted, write to sensitive locations on the server—such as configuration directories or cron job folders. While the CVSS score is low due to requiring high-level authentication and user interaction, the potential for abuse exists in multi-tenant or shared environments where dataset or model files pass through untrusted sources.
Source data · NVD / CISA · public domain
- CVSS
- 3.0 · 2.4 LOW · CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-23
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-01 / 2026-07-02
NVD description (verbatim)
A vulnerability in allegroai/clearml versions up to and including 1.16.5 allows for relative path traversal when extracting `.zip` archives using the `ZipFile.extractall()` method in `StorageManager._extract_to_cache()`. This issue arises due to the lack of path traversal validation, enabling an attacker to write arbitrary files to the filesystem. Attack vectors include dataset downloads, artifact downloads, model downloads, and offline session imports. The vulnerability can lead to remote code execution through methods such as cron job injection, SSH key overwrite, or web shell deployment. The issue is resolved in version 2.1.6.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability resides in ClearML's `StorageManager._extract_to_cache()` method, which calls `ZipFile.extractall()` without sanitizing archive member paths. The method lacks path traversal validation, allowing archive entries with relative path sequences (e.g., `../../../etc/cron.d/job`) to escape the intended cache directory. This affects download operations for datasets, artifacts, models, and offline session imports—any flow where user-provided or externally-sourced ZIP files are extracted to the filesystem. CWE-23 (Relative Path Traversal) applies. The vendor resolved this in version 2.1.6 by implementing path validation before extraction.
Business impact
In single-user or air-gapped deployments, impact is minimal due to the CVSS constraints (requires high privilege + user interaction). However, in shared ML infrastructure, federated model repositories, or DevOps pipelines that auto-ingest datasets or models, a compromised or malicious archive could lead to privilege escalation, container escape, or lateral movement. The RCE potential—via cron injection, SSH key overwrite, or web shell placement—means a low-scoring vulnerability in isolation could chain with other issues to achieve system compromise in a broader attack scenario.
Affected systems
ClearML versions up to and including 1.16.5 are vulnerable. The fix is available in version 2.1.6 and later. Any deployment using ClearML for dataset management, model artifact storage, or offline session handling is in scope. Self-hosted instances, Kubernetes clusters running ClearML, and integrations with MLflow or DVC-compatible storage backends that relay files through ClearML may be affected depending on deployment configuration.
Exploitability
Exploitation requires either direct access to ClearML as a high-privilege user (system administrator or dataset curator) or the ability to influence archived files that transit through the system—for example, by poisoning a shared model registry or dataset repository. The CVSS vector (AV:N/AC:L/PR:H/UI:R) reflects that network access is available but a high-privilege account and user click/interaction (downloading a malicious dataset) are prerequisites. In open-source or community-driven ML workflows where users share pre-packaged datasets, this becomes more practical. No known public exploits or in-the-wild campaigns have been reported.
Remediation
Upgrade ClearML to version 2.1.6 or later. For organizations unable to patch immediately, implement network-level controls to restrict ZIP archive sources to trusted repositories, validate archive integrity using cryptographic signatures before import, and apply filesystem permissions to limit write access to sensitive directories (cron, SSH, web root). Consider running ClearML in a containerized environment with read-only root filesystems to constrain damage from path traversal.
Patch guidance
Apply ClearML version 2.1.6 or later. Review your current version with `clearml-init --version` or check `~/.clearml/clearml.conf`. Patch during a maintenance window; no hotfixes or interim versions are mentioned, so a direct upgrade to 2.1.6+ is the path forward. Test the upgrade in a non-production environment first, as major version transitions (1.16.x to 2.1.6) may introduce configuration or API changes. Consult the official ClearML release notes for migration guidance.
Detection guidance
Log and monitor `StorageManager` and ZIP extraction operations within ClearML. Look for extraction attempts with unusual file paths (containing `../` or absolute paths like `/etc/`, `/home/`, `/root/`). In Kubernetes environments, audit PersistentVolume mounts and temp directory writes. Check filesystem audit logs for unexpected file creation in sensitive directories (cron jobs, SSH folders, web directories) coinciding with dataset or artifact downloads. If you have access to ClearML's internal logging, examine cache extraction logs for path traversal patterns.
Why prioritize this
Despite a CVSS score of 2.4 (LOW), prioritize patching if you operate a shared or multi-tenant ClearML instance, accept external datasets, or integrate with community model repositories. The RCE potential and the presence of high-privilege workflows in ML infrastructure elevate practical risk. If your ClearML deployment is fully air-gapped, single-operator, and internal, this can be scheduled for a routine maintenance cycle. Organizations with strict data governance or those in regulated industries (finance, healthcare) handling sensitive model artifacts should treat this as moderate priority.
Risk score, explained
The CVSS 3.0 score of 2.4 reflects: (1) High privilege requirement (PR:H), meaning only admins or power users can trigger downloads; (2) Required user interaction (UI:R), necessitating a click to extract the archive; (3) Limited impact scope (Integrity only, no Confidentiality or Availability loss in the base metric). However, this scoring does not account for the potential for privilege escalation, lateral movement, or RCE via post-extraction abuse. Real-world risk depends on deployment model (shared vs. isolated), data sensitivity, and whether the environment permits cron/SSH/web shell access.
Frequently asked questions
Can this be exploited without admin credentials?
The CVSS vector requires high privilege (PR:H), meaning administrative or curator-level access is needed. In practice, any user with permission to download datasets, models, or artifacts could be tricked into importing a poisoned file. If role-based access controls are lax or if public dataset repositories are auto-pulled, exposure widens.
What does 'relative path traversal' mean in this context?
A ZIP archive normally extracts files into a designated folder, e.g., `/cache/dataset_abc/`. Relative path traversal means an attacker crafts an archive entry named `../../../etc/cron.d/malicious-job`, which, when extracted, escapes the cache folder and writes to the actual system `/etc/cron.d/` directory instead. This bypasses intended isolation.
Is there a workaround if we cannot upgrade immediately?
Yes. Restrict ZIP archive sources to internal or signed repositories, disable auto-import of external datasets, and use filesystem permissions to make sensitive directories read-only or non-writable by the ClearML process. Running ClearML in a container with a read-only root filesystem also mitigates damage. However, these are mitigations, not fixes—upgrade as soon as possible.
Does this affect cloud-hosted ClearML (SaaS)?
If you use ClearML Cloud or a vendor-managed SaaS instance, the provider is responsible for patching. Contact your vendor to confirm they have upgraded to 2.1.6. Self-hosted deployments are the primary concern and require immediate attention.
This analysis is based on CVE-2026-8387 as published. Verify patch versions and product applicability against the official vendor advisory before deployment. No exploit code or weaponized proofs are provided. This assessment does not guarantee protection; organizations must conduct internal risk assessments and security testing. CVSS scores reflect base metrics; contextual risk may differ based on deployment topology, access controls, and data sensitivity. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-41271HIGHWaterfall WF-500 Path Traversal – Arbitrary File Read Vulnerability
- CVE-2025-41280HIGHWaterfall WF-500 RX Host Path Traversal (Zip Slip) Code Execution Vulnerability
- CVE-2025-48977MEDIUMApache Ignite REST API Path Traversal – Authenticated File Read Vulnerability
- CVE-2025-53829HIGHownCloud 10 Path Traversal Arbitrary Code Execution Vulnerability
- CVE-2026-10073HIGHDreamMaker Arbitrary File Read via Relative Path Traversal
- CVE-2026-10074MEDIUMDreamMaker Arbitrary File Read Vulnerability (MEDIUM)
- CVE-2026-14476HIGHSSSD AD GPO Path Traversal & Authentication Bypass
- CVE-2026-25707HIGHPath Traversal in libzypp Allows Arbitrary File Overwrite