CVE-2025-14287: Command Injection in mlflow/mlflow

Published Mar 15, 2026
·
Updated

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 Software

2 affected components
pypi/mlflow<3.7.0
Lfprojects Mlflow<3.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mlflow/mlflow to a version that resolves this vulnerability.

    Fixed in v3.7.0
  2. Configuration

    In MLflow environments, ensure the value passed to the CLI `--container` parameter is a sanitized/validated container image reference (e.g., reject characters such as `;`, `&`, `|`, backticks, `$()`, newlines, and other shell metacharacters) to prevent command injection via shell execution paths.

    MLflow CLI --container parameter (container image name input) = Only allow validated, trusted container image names (no shell metacharacters/whitespace)

Event History

Mar 15, 2026
CVE Published
via MITRE·09:27 AM
Data Sourced
via MITRE·09:27 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 AM
DescriptionSeverityAffected Software
Mar 16, 2026
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-14287?

CVE-2025-14287 has been classified as a high severity command injection vulnerability.

2

How do I fix CVE-2025-14287?

To fix CVE-2025-14287, upgrade mlflow to version 3.7.0 or later.

3

What versions of mlflow are affected by CVE-2025-14287?

CVE-2025-14287 affects mlflow versions prior to 3.7.0.

4

What type of vulnerability is CVE-2025-14287?

CVE-2025-14287 is a command injection vulnerability.

5

In which file is CVE-2025-14287 found?

CVE-2025-14287 is located in the mlflow/sagemaker/__init__.py file, specifically between lines 161-167.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203