MEDIUM5.8
PYSEC-2026-1255
clearml is vulnerable to Path Traversal through its `safe_extract` function
Quick fix
PYSEC-2026-1255 — clearml: upgrade to the fixed version with the command below.
pip install --upgrade 'clearml>=2.0.2'Details
A vulnerability in clearml versions before 2.0.2 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8917[ADVISORY]
- https://github.com/clearml/clearml/commit/64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73[WEB]
- https://github.com/clearml/clearml[PACKAGE]
- https://huntr.com/bounties/588fcdd1-fea4-4cc2-a9f8-851701dcb576[WEB]
- https://pypi.org/project/clearml[PACKAGE]
- https://github.com/advisories/GHSA-579p-qf78-fqm2[ADVISORY]