CVE-2025-14287
Awaiting Analysis Awaiting Analysis - Queue
Command Injection in MLflow SageMaker CLI via Unsanitized Input

Publication date: 2026-03-16

Last updated on: 2026-04-14

Assigner: huntr.dev

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-16
Last Modified
2026-04-14
Generated
2026-05-07
AI Q&A
2026-03-16
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
lfprojects mlflow to 3.7.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a command injection issue found in mlflow/mlflow versions before v3.7.0, specifically in the file mlflow/sagemaker/__init__.py at lines 161-167.

It occurs because user-supplied container image names are directly inserted into shell commands without proper sanitization and then executed using os.system().

An attacker can exploit this by providing malicious input through the --container parameter of the CLI, allowing them to execute arbitrary commands on the affected system.


How can this vulnerability impact me? :

This vulnerability can have serious impacts including unauthorized execution of arbitrary commands on systems running vulnerable versions of MLflow.

It affects environments such as development setups, CI/CD pipelines, and cloud deployments where MLflow is used.

Successful exploitation can lead to compromise of confidentiality, integrity, and availability of the affected systems.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

I don't know


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart