MLflowGHSA-4x5p-f36r-mxxr
mlflow Creates of Temporary File in Directory with Insecure Permissions
Fix: upgrade to 3.4.0rc0 or later
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| mlflow PyPI | < 3.4.0rc0 | 3.4.0rc0 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-379
- Also known as
- BIT-mlflow-2025-10279, CVE-2025-10279, PYSEC-2026-1639