Advisory

PYSEC-2026-1639

Also known as: BIT-mlflow-2025-10279, CVE-2025-10279, GHSA-4x5p-f36r-mxxr

Summary

mlflow Creates of Temporary File in Directory with Insecure Permissions

Details

In mlflow version 2.20.3, the temporary directory used for creating Python virtual environments is assigned insecure world-writable permissions (0o777). This vulnerability allows an attacker with write access to the /tmp directory to exploit a race condition and overwrite .py files in the virtual environment, leading to arbitrary code execution. The issue is resolved in version 3.4.0.

Severity

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

Dates

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

Affected packages and fixes

mlflow

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.0rc0 (ecosystem)

Fixed versions

3.4.0rc0

Fix

  • Fixed version 3.4.0rc0
    pip install --upgrade mlflow==3.4.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