CVE-2025-15031
CRITICAL 9.1CVSS 3.1Arbitrary file write via tar traversal in mlflow
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.
- Published
- 18 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- BIT-mlflow-2025-15031GHSA-fhff-qmm8-h2fpPYSEC-2026-2656
- Sources
- NVDJSONOSV GHSA-fhff-qmm8-h2fpJSONOSV PYSEC-2026-2656JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mlflowcpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:* |
<= 3.10.1 | |
| OSV | PyPI | mlflow | < 3.9.0rc0 | 3.9.0rc0 |
References
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e · Exploit, Mitigation, Third Party Advisory, WEB
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-15031 · ADVISORY
- https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346 · WEB
- https://github.com/mlflow/mlflow · PACKAGE
- https://github.com/mlflow/mlflow/blob/fe4d9be330426904283401f1d2ed914238b6fc37/mlflow/pyfunc/dbconnect_artifact_cache.py#L140 · WEB
- https://pypi.org/project/mlflow · PACKAGE
- https://github.com/advisories/GHSA-fhff-qmm8-h2fp · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2026)