VDB
Sign up
HIGH7.0

PYSEC-2026-1639

mlflow Creates of Temporary File in Directory with Insecure Permissions

Quick fix

PYSEC-2026-1639 — mlflow: upgrade to the fixed version with the command below.

pip install --upgrade 'mlflow>=3.4.0rc0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mlflow
Introduced in: 0Fixed in: 3.4.0rc0
Fixpip install --upgrade 'mlflow>=3.4.0rc0'

References