CVE-2025-14287
JSON

7.8high

Command Injection in mlflow/mlflow

Severity
7.8high CVSS:3.1 by redhat-SADP
Exploit likelihood
1.71% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-xch3-2f9x-wh9fBIT-MLFLOW-2025-14287PYSEC-2026-2661

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.

Affected

Product or packageVersionsReported by
mlflow mlflow/mlflowfrom unspecified up to latestCVE List
rhoai/odh-mlflow-rhel9Not specifiedCVE List
rhoai/odh-training-cuda128-torch29-py312-rhel9Not specifiedCVE List
mlflow (PyPI)before 3.8.0rc0GitHub Advisory Database, PyPA Advisory Database
lfprojects mlflowbefore 3.7.0NVD
mlflow (Bitnami)before 3.7.0Bitnami Vulnerability Database

All scores

@huntr_ai7.5high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory Database7.5high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-78CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad de inyección de comandos existe en las versiones de mlflow/mlflow anteriores a la v3.7.0, específicamente en el archivo 'mlflow/sagemaker/__init__.py' en las líneas 161-167. La vulnerabilidad surge de la interpolación directa de nombres de imágenes de contenedores proporcionados por el usuario en comandos de shell sin una sanitización adecuada, los cuales son luego ejecutados usando 'os.system()'. Esto permite a los atacantes ejecutar comandos arbitrarios al proporcionar entrada maliciosa a través del parámetro '--container' de la CLI. El problema afecta a los entornos donde se utiliza MLflow, incluyendo configuraciones de desarrollo, pipelines de CI/CD y despliegues en la nube.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-14287 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-xch3-2f9x-wh9f changed 2026-09-10CC-BY-4.0
NVDCVE-2025-14287 changed 2026-07-15Public domain
PyPA Advisory DatabasePYSEC-2026-2661 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-MLFLOW-2025-14287 changed 2026-09-10Apache-2.0