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 package | Versions | Reported by |
|---|---|---|
| mlflow mlflow/mlflow | from unspecified up to latest | CVE List |
| rhoai/odh-mlflow-rhel9 | Not specified | CVE List |
| mlflow (PyPI) | before 3.9.0rc0 | GitHub Advisory Database, PyPA Advisory Database |
| lfprojects mlflow | up to 3.10.1 | NVD |
| mlflow (Bitnami) | before 3.11.1 | Bitnami Vulnerability Database |
All scores
| @huntr_ai | 8.1high CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | 8.1high CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | critical rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15031 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fhff-qmm8-h2fp changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-15031 changed 2026-07-15 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2656 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-MLFLOW-2025-15031 changed 2026-09-08 | Apache-2.0 |