# CVE-2025-15036: MLflow path traversal in extract_archive_to_dir

Source: https://junglewise.ai/threats/cve-2025-15036-mlflow-path-traversal-in-extract-archive-to-dir  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-30. Updated: 2026-06-30  
License: CC BY 4.0 with a link back

CVE-2025-15036 · Severity: critical · CVSS 10 · Published 2026-03-30

MLflow is an open-source platform used by organizations to manage the machine learning lifecycle, including tracking experiments and deploying models. A security flaw in how it handles compressed archive files allows an attacker to write files to unauthorized locations on the server. This could lead to a total system takeover, data theft, or the ability to bypass security boundaries in shared cloud environments.

Technologies: [mlflow (PyPI)](https://junglewise.ai/threats/technologies/mlflow). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-15036 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-15036 being exploited in the wild.

**How severe is CVE-2025-15036?** Critical severity, with a CVSS score of 10, published 30 March 2026.

**Which products and versions are affected?** mlflow (PyPI) ECOSYSTEM:introduced=0,fixed=3.9.0rc0.

**Is there a fix for CVE-2025-15036?** Yes. mlflow (PyPI): upgrade to 3.9.0rc0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-15036 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-15036?** Check whether you run mlflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mlflow (PyPI): upgrade to 3.9.0rc0 or later

  ```sh
  pip install "mlflow>=3.9.0rc0"
  ```


## Technical details

A path traversal vulnerability (CWE-22/CWE-29) exists in the `extract_archive_to_dir` function within `mlflow/pyfunc/dbconnect_artifact_cache.py`. The root cause is a failure to validate tar member paths during the extraction of `tar.gz` files. An attacker who can provide or influence a malicious archive can use '..' sequences to escape the intended destination directory. This can be leveraged to overwrite sensitive system files, achieve arbitrary code execution, or escape sandboxes in multi-tenant or shared cluster environments. The issue is fixed in MLflow version 3.7.0 and later.

## Affected products

- MLflow MLflow < 3.7.0
- Red Hat OpenShift AI (RHOAI) Affected

## Identifiers

- CVE-2025-15036
- GHSA-vhcx-3pq2-4fvc
- PYSEC-2026-425

## Timeline

- 2025-01-01: other: Initial Red Hat VEX release date
- 2026-03-30: disclosed: Public disclosure and NVD publication
- 2026-03-30: advisory: Red Hat security advisory published

## References

- [https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346](https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346)
- [https://huntr.com/bounties/36c314cf-fd6e-4fb0-b9b0-1b47bcdf0eb0](https://huntr.com/bounties/36c314cf-fd6e-4fb0-b9b0-1b47bcdf0eb0)
- [https://access.redhat.com/security/cve/CVE-2025-15036](https://access.redhat.com/security/cve/CVE-2025-15036)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2452925](https://bugzilla.redhat.com/show_bug.cgi?id=2452925)
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15036.json](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15036.json)

## Related threats

- [MLflow arbitrary code execution in third-party scorer deserialization](https://junglewise.ai/threats/cve-2026-116692-mlflow-is-an-open-source-ai-engineering-platform-for-agents)
- [MLflow credential leak in CrewAI autolog](https://junglewise.ai/threats/cve-2026-116691-mlflow-is-an-open-source-ai-engineering-platform-for-agents)
- [MLflow path traversal in prompt model version artifact access](https://junglewise.ai/threats/cve-2026-116690-mlflow-is-an-open-source-ai-engineering-platform-for-agents)
- [MLflow unsafe deserialization in scorer endpoints](https://junglewise.ai/threats/cve-2026-115886-mlflow-is-an-open-source-ai-engineering-platform-for-agents)
- [MLflow FileStore path traversal in trace storage](https://junglewise.ai/threats/cve-2026-53995-mlflow-3-17-1-and-earlier-contains-a-path-traversal-vulnerability)
