KeygraphLabs · CVE MCP

CVE-2025-8917 · @huntr_ai

Path Traversal Leading to Remote Code Execution in allegroai/clearml

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.

Published 2025-10-05, last changed 2026-10-09. Weakness: CWE-22.

CVSS
5.8
medium, from the CNA
EPSS
0.48%
percentile 43.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: clearml 2.0.2 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in allegroai/clearml by 64fb2bcbdb, 64fb2bcbdb, 2a8a5bba87. Functions changed by the fix: safe_extract. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2025-10-05Published
2025-10-05Package advisory GHSA-579p-qf78-fqm2
2026-07-07Package advisory PYSEC-2026-1255
2026-10-09Record last changed
2026-11-30EPSS when our history starts: 0.43%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-579p-qf78-fqm2clearml (PyPI)2.0.2
PYSEC-2026-1255clearml (PyPI)2.0.2

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

Related

CVEPublishedCVSSSummary
CVE-2024-245912024-02-068.8same package: clearml (PyPI)
CVE-2024-245902024-02-068.8same package: clearml (PyPI)
CVE-2024-245952024-02-057.1same package: clearml (PyPI)
CVE-2026-98562026-08-027.1Path Traversal in huggingface/transformers
CVE-2026-93352026-08-026.5Improper Handling of HDF5 ExternalLinks in keras-team/keras
CVE-2026-124822026-07-146.5Path Traversal via Symlink Name Validation Bypass in keras-team/keras
CVE-2026-124792026-06-226.1Path Traversal in keras-team/keras
CVE-2026-38402026-06-127.1Path Traversal in kedro-org/kedro

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2025-8917, or call /api/v1/vulnerabilities/CVE-2025-8917. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org