Arbitrary Command Injection Affecting mlflow package, versions [2.11.0,2.22.5)[3.0.0rc0,3.8.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.99% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MLFLOW-15825746
  • published30 Mar 2026
  • disclosed30 Mar 2026
  • creditCole Murray

Introduced: 30 Mar 2026

CVE-2025-15379  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade mlflow to version 2.22.5, 3.8.1 or higher.

Overview

mlflow is a platform to streamline machine learning development, including tracking experiments, packaging code into reproducible runs, and sharing and deploying models.

Affected versions of this package are vulnerable to Arbitrary Command Injection in the _install_model_dependencies_to_env function. An attacker can execute arbitrary commands by supplying a crafted model artifact containing malicious dependency specifications in the python_env.yaml file, which are unsafely interpolated into a shell command during model deployment with env_manager=LOCAL.

Note: The vulnerable path is reached during model deployment, where MLflow reads dependency entries from the model artifact and installs them in the local environment.

CVSS Base Scores

version 4.0
version 3.1