CVE-2025-8917 Path Traversal Leading to Remote Code Execution in allegroai/clearml

Medium 5.8 Published Updated

Path traversal in allegroai/clearml allows arbitrary file writes via symlink handling, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-8917?

CVE-2025-8917 is a medium-severity path traversal vulnerability in allegroai/clearml, published on 5 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A vulnerability in allegroai/clearml version v2.0.1 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.

Weakness: CWE-22

Which versions are affected by CVE-2025-8917?

3 open source packages ship an affected version, including clearml.

PackageAffectedFixed in
clearml PyPIAll versions2.0.2
clearml PyPIAll versions2.0.2
clearml PyPIAll versions2.0.2

How do I fix CVE-2025-8917?

Upgrade clearml to 2.0.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-8917 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8917 exists.

Sources

Also known as GHSA-579p-qf78-fqm2, PYSEC-2026-1255.

Is CVE-2025-8917 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free