Advisory

PYSEC-2026-2656

Also known as: BIT-mlflow-2025-15031, CVE-2025-15031, GHSA-fhff-qmm8-h2fp

Summary

Arbitrary file write via tar traversal in mlflow

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:43 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