CVE-2025-15031

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*

History

30 Jun 2026, 03:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2025-15031 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2448912 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json -

17 Jun 2026, 08:36

Type Values Removed Values Added
References () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e - Exploit, Third Party Advisory, Mitigation () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e - Exploit, Mitigation, Third Party Advisory

23 Mar 2026, 17:48

Type Values Removed Values Added
First Time Lfprojects mlflow
Lfprojects
CPE cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
References () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e - () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e - Exploit, Third Party Advisory, Mitigation
Summary
  • (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.
CVSS v2 : unknown
v3 : 8.1
v2 : unknown
v3 : 9.1

19 Mar 2026, 15:16

Type Values Removed Values Added
References () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e - () https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e -

18 Mar 2026, 23:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-18 23:17

Updated : 2026-07-15 02:17


NVD link : CVE-2025-15031

Mitre link : CVE-2025-15031

CVE.ORG link : CVE-2025-15031


JSON object : View

Products Affected

lfprojects

  • mlflow
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')