ADVISORIES

PyPA Advisory Database

PYSEC-2026-1255

clearml is vulnerable to Path Traversal through its `safe_extract` function

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.

Affected packages

EcosystemPackageAffected versions
PyPIclearml
All versions before 2.0.2 (fixed in 2.0.2)

References