Vulnerability · Published Mar 18, 2026 · Assigned by @huntr_ai
CVE-2025-15031Path Traversal Vulnerability in mlflow/mlflow
High 8.1
In plain English
A high-severity path traversal in mlflow/mlflow from mlflow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | mlflow | 3.9.0rc0 | GHSA-fhff-qmm8-h2fp |
| PyPI | mlflow | 3.9.0rc0 | PYSEC-2026-2656 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mlflow | mlflow/mlflow | unspecified – through latest |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e
- https://access.redhat.com/security/cve/CVE-2025-15031 vdb-entry, x_refsource_REDHAT
- RHBZ#2448912 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json x_sadp-csaf-vex