CVE-2025-14287
March 15, 2026
A command injection vulnerability exists in mlflow/mlflow versions before v3.7.0, specifically in the "mlflow/sagemaker/__init__.py" file at lines 161-167. The vulnerability arises from the direct interpolation of user-supplied container image names into shell commands without proper sanitization, which are then executed using "os.system()". This allows attackers to execute arbitrary commands by supplying malicious input through the "--container" parameter of the CLI. The issue affects environments where MLflow is used, including development setups, CI/CD pipelines, and cloud deployments.
Affected Packages
mlflow (CONDA):
Affected version(s) >=0.9.0.1 <3.8.0Fix Suggestion:
Update to version 3.8.0https://github.com/mlflow/mlflow.git (GITHUB):
Affected version(s) >=v0.2.0 <v3.8.0rc0Fix Suggestion:
Update to version v3.8.0rc0mlflow (PYTHON):
Affected version(s) >=0.0.1 <3.8.0Fix Suggestion:
Update to version 3.8.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.07