MLflowPublished 16 Mar 2026NVD status: Modified

CVE-2025-14287

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.

ComponentMLflow
Severityhigh (CVSS 8.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published (NVD)2026-03-16
Last modified2026-07-15
Affected versions
< 3.8.0rc0
from the GitHub-reviewed advisory GHSA-xch3-2f9x-wh9f
Fixed in3.8.0rc0
WeaknessCWE-94CWE-78
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads < 3.7.0. The ranges above come from the GitHub-reviewed advisory GHSA-xch3-2f9x-wh9f. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD 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.

What to do

  • Upgrade MLflow to 3.8.0rc0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more