Browse / AI Framework and Platform Flaws / CVE-2025-8917
clearml is vulnerable to Path Traversal through its `safe_extract` function
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Path traversal and file access
- Affected
- clearml (PyPI)
- Gets past
- Path restriction
- CVSS
- CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
- EPSS
- 0.5% chance of exploitation in 30 days
How it works, in short
The safe archive extraction routine mishandles symbolic and hard links, letting archive entries write outside the target directory. (Our summary, written by a model. The source text is below.)
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8917
- https://github.com/clearml/clearml/commit/64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73
- https://github.com/clearml/clearml
- https://huntr.com/bounties/588fcdd1-fea4-4cc2-a9f8-851701dcb576
Source: GitHub Advisory Database, used under CC BY 4.0.