---
id: CVE-2025-8917
aliases:
  - GHSA-579p-qf78-fqm2
  - PYSEC-2026-1255
title: clearml is vulnerable to Path Traversal through its `safe_extract` function
summary: clearml is vulnerable to Path Traversal through its `safe_extract` function
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N'
vendor: clearml
product: clearml
ecosystem: pip
affected:
  - clearml < 2.0.2
patched:
  - clearml 2.0.2
published: '2025-10-05'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-579p-qf78-fqm2'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-8917'
  - url: >-
      https://github.com/clearml/clearml/commit/64fb2bcbdbb87a74af90dd723d5ef4a99fceeb73
  - url: 'https://github.com/clearml/clearml'
  - url: 'https://huntr.com/bounties/588fcdd1-fea4-4cc2-a9f8-851701dcb576'
tags:
  - osv
  - pip
epss: 0.00302
epssPercentile: 0.23048
ingestedAt: '2026-07-08T18:25:45.800Z'
---

## Overview

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

- `clearml < 2.0.2`

## Remediation

Upgrade to a patched release:

- `clearml 2.0.2`
