CVE-2025-15031
JSON

8.1high

Path Traversal Vulnerability in mlflow/mlflow

Severity
8.1high CVSS:3.1 by redhat-SADP
Exploit likelihood
0.95% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-fhff-qmm8-h2fpBIT-MLFLOW-2025-15031PYSEC-2026-2656

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

Product or packageVersionsReported by
mlflow mlflow/mlflowfrom unspecified up to latestCVE List
rhoai/odh-mlflow-rhel9Not specifiedCVE List
mlflow (PyPI)before 3.9.0rc0GitHub Advisory Database, PyPA Advisory Database
lfprojects mlflowup to 3.10.1NVD
mlflow (Bitnami)before 3.11.1Bitnami Vulnerability Database

All scores

@huntr_ai8.1high CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
PyPA Advisory Database8.1high CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasecritical rating

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad en el proceso de extracción pyfunc de MLflow permite escrituras arbitrarias de archivos debido a un manejo inadecuado de las entradas de archivos tar. Específicamente, el uso de 'tarfile.extractall' sin validación de ruta permite que archivos tar.gz manipulados que contienen '..' o rutas absolutas escapen del directorio de extracción previsto. Este problema afecta a la última versión de MLflow y plantea un riesgo alto/crítico en escenarios que involucran entornos multi-inquilino o la ingesta de artefactos no confiables, ya que puede conducir a sobrescrituras arbitrarias de archivos y potencial ejecución remota de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15031 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-fhff-qmm8-h2fp changed 2026-09-10CC-BY-4.0
NVDCVE-2025-15031 changed 2026-07-15Public domain
PyPA Advisory DatabasePYSEC-2026-2656 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-MLFLOW-2025-15031 changed 2026-09-08Apache-2.0