CVE-2025-14287
Command Injection in MLflow SageMaker CLI via Unsanitized Input
Publication date: 2026-03-16
Last updated on: 2026-04-14
Assigner: huntr.dev
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| lfprojects | mlflow | to 3.7.0 (exc) |
Helpful Resources
Exploitability
| 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