Browse / AI Framework and Platform Flaws / CVE-2025-10279
mlflow Creates of Temporary File in Directory with Insecure Permissions
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.2% chance of exploitation in 30 days
How it works, in short
The temporary virtualenv directory is created world-writable, letting a local user race and replace Python files that later run as code. (Our summary, written by a model. The source text is below.)
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-10279
- https://github.com/mlflow/mlflow/commit/1d7c8d4cf0a67d407499a8a4ffac387ea4f8194a
- https://github.com/mlflow/mlflow
- https://huntr.com/bounties/01d3b81e-13d1-43aa-b91a-443aec68bdc8
Source: GitHub Advisory Database, used under CC BY 4.0.