Advisory

PYSEC-2026-1640

Also known as: BIT-mlflow-2025-11201, CVE-2025-11201, GHSA-5cvj-7rg6-jggj

Summary

MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability

Details

MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MLflow Tracking Server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of model file paths. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-26921.

Severity

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

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.22.4, introduced 3.0.0rc0, fixed 3.0.0 (ecosystem)

Fixed versions

2.22.4, 3.0.0

Fix

  • Fixed version 2.22.4
    pip install --upgrade mlflow==2.22.4
  • Fixed version 3.0.0
    pip install --upgrade mlflow==3.0.0

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