mlflow Creates of Temporary File in Directory with Insecure Permissions
High severity
GitHub Reviewed
Published
Feb 2, 2026
to the GitHub Advisory Database
•
Updated Feb 2, 2026
Description
Published by the National Vulnerability Database
Feb 2, 2026
Published to the GitHub Advisory Database
Feb 2, 2026
Reviewed
Feb 2, 2026
Last updated
Feb 2, 2026
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
/tmpdirectory to exploit a race condition and overwrite.pyfiles in the virtual environment, leading to arbitrary code execution. The issue is resolved in version 3.4.0.References