CVE-2025-15031
criticalpriority · track · 36EPSS 0.009 · 59 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.1–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-fhff-qmm8-h2fpArbitrary file write via tar traversal in mlflow2026-03-19ghsa · osvUS
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.
- BIT-mlflow-2025-15031Path Traversal Vulnerability in mlflow/mlflow2026-03-24vendor · osvUS
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.
- PYSEC-2026-2656Arbitrary file write via tar traversal in mlflow2026-07-13vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-15031cnnvd
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4ecnnvd
- https://mlflow.org/Patchcnnvd
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4eenisa_euvd
- https://access.redhat.com/security/cve/CVE-2025-15031nvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2448912nvd
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4eExploitMitigationThird Party Advisorynvd
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.jsonnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan