MLflow Command Injection vulnerability
Published 30 Mar 2026 · Updated 16 Nov 2026
Is your project on an affected mlflow?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <3.8.1
- Fixed in
- 3.8.1
pip install 'mlflow>=3.8.1'Details
A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the _install_model_dependencies_to_env() function. When deploying a model with env_manager=LOCAL, MLflow reads dependency specifications from the model artifact's python_env.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.1.
Is GHSA-r23q-823p-vmf7 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected mlflow, and gives you the command that fixes it.
More advisories for mlflow
- HighCVE-2026-116690MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source · 27 Oct 2026
- MediumCVE-2026-116691MLflow CrewAI autologging records LLM provider API keys in logged trace spans · 27 Oct 2026
- CriticalCVE-2026-116692MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules · 27 Oct 2026
- MediumCVE-2026-115886MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints · 23 Oct 2026
- HighCVE-2026-53995MLflow FileStore trace IDs allow path traversal and arbitrary file writes · 20 Oct 2026
- HighGHSA-gqvg-gmmx-x4hmMLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact · 1 Sept 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-15379
- Linkgithub.com/mlflow/mlflow/commit/361b6f620adf98385c6721e384fb5ef9a30bb05e
- Linkgithub.com/mlflow/mlflow/commit/a22ce7157f646bdce4c95106fc38ccc9ca289205
- Linkaccess.redhat.com/security/cve/CVE-2025-15379
- Linkbugzilla.redhat.com/show_bug.cgi?id=2452949
- Packagegithub.com/mlflow/mlflow
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-423.yaml
- Linkhuntr.com/bounties/dc9c1c20-7879-4050-87df-4d095fe5ca75
- Linkpypi.org/project/mlflow
- Linksecurity.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15379.json
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.