medium5.8
CVE-2025-8917
clearml is vulnerable to Path Traversal through its `safe_extract` function
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | clearml | < 2.0.2 | 2.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/allegroai/clearml/commit/64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73
- https://huntr.com/bounties/588fcdd1-fea4-4cc2-a9f8-851701dcb576
- https://github.com/advisories/GHSA-579p-qf78-fqm2
- https://nvd.nist.gov/vuln/detail/CVE-2025-8917
- https://github.com/clearml/clearml/commit/64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73