Skip to content
COOEY

EXPOSURES › CVE-2025-15031

CVE-2025-15031

CRITICAL
DETAIL
SourceNVD · cve Published2026-03-18 CVSS9.1 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2025-15031 ↗
⚡ RCE SHAME 72/100 rceunpatchedexploited-in-wild

CVE-2025-15031 in MLflow allows arbitrary file writes via unvalidated tar extraction, enabling potential remote code execution in multi-tenant environments.

The vulnerability stems from using tarfile.extractall without path validation, allowing attackers to escape extraction directories via crafted tar.gz files. DIB organizations must patch immediately and validate all artifact ingestion paths to prevent arbitrary file overwrites and potential RCE in multi-tenant setups.

Shame score — The flaw affects the latest version and enables arbitrary file writes that can lead to remote code execution, representing a significant security oversight in a widely used machine learning platform.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

DESCRIPTION

A vulnerability in MLflow's pyfunc extraction process allows for arbitrary file writes due to improper handling of tar archive entries. Specifically, the use of `tarfile.extractall` without path validation enables crafted tar.gz files containing `..` or absolute paths to escape the intended extraction directory. This issue affects the latest version of MLflow and poses a high/critical risk in scenarios involving multi-tenant environments or ingestion of untrusted artifacts, as it can lead to arbitrary file overwrites and potential remote code execution.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.