Advisory

PYSEC-2026-425

Also known as: BIT-mlflow-2025-15036, CVE-2025-15036, GHSA-vhcx-3pq2-4fvc

Summary

MLFlow path traversal vulnerability

Details

A path traversal vulnerability exists in the extract_archive_to_dir function within the mlflow/pyfunc/dbconnect_artifact_cache.py file of the mlflow/mlflow repository. This vulnerability, present in versions before v3.7.0, arises due to the lack of validation of tar member paths during extraction. An attacker with control over the tar.gz file can exploit this issue to overwrite arbitrary files or gain elevated privileges, potentially escaping the sandbox directory in multi-tenant or shared cluster environments.

Severity

Critical Basis: CVSS v3 score 9.6, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 3.9.0rc0 (ecosystem)

Fixed versions

3.9.0rc0

Fix

  • Fixed version 3.9.0rc0
    pip install --upgrade mlflow==3.9.0rc0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences