# CVE-2025-15031: Path Traversal Vulnerability in mlflow/mlflow

- Severity: High 8.1 (CVSS:3.1, scored by redhat-SADP) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T22:06:47.300Z
- Modified: 2026-09-10T03:51:00.308Z
- Also known as: GHSA-fhff-qmm8-h2fp, BIT-MLFLOW-2025-15031, PYSEC-2026-2656
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- mlflow mlflow/mlflow: from unspecified up to latest
- rhoai/odh-mlflow-rhel9: no versions given
- mlflow (PyPI): before 3.9.0rc0
- lfprojects mlflow: up to 3.10.1
- mlflow (Bitnami): before 3.11.1

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.0 8.1 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.0 8.1 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e> (exploit, advisory, mitigation, third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-15031> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2448912> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-15031> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2025-15031](https://www.cve.org/CVERecord?id=CVE-2025-15031), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-fhff-qmm8-h2fp](https://github.com/advisories/GHSA-fhff-qmm8-h2fp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-15031](https://nvd.nist.gov/vuln/detail/CVE-2025-15031), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-2656](https://osv.dev/vulnerability/PYSEC-2026-2656), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-MLFLOW-2025-15031](https://osv.dev/vulnerability/BIT-MLFLOW-2025-15031), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-15031 · Whole record: https://cve.day/CVE-2025-15031.json · Rebuilt by cve.day 2026-11-25T22:59:11.957Z
