CVE-2025-15379
JSON

9.0critical

Command Injection in mlflow/mlflow

Severity
9.0critical CVSS:3.1 by redhat-SADP
Exploit likelihood
2.77% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-r23q-823p-vmf7BIT-MLFLOW-2025-15379PYSEC-2026-423

Description

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function. When deploying a model with `env_manager=LOCAL`, MLflow reads dependency specifications from the model artifact's `python_env.yaml` file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.

Affected

Product or packageVersionsReported by
mlflow mlflow/mlflowfrom unspecified before 3.8.2CVE List
rhoai/odh-mlflow-rhel9Not specifiedCVE List
rhoai/odh-training-cuda128-torch29-py312-rhel9Not specifiedCVE List
mlflow (PyPI)before 3.8.1GitHub Advisory Database, PyPA Advisory Database
lfprojects mlflowfrom 3.8.0 before 3.8.1NVD
mlflow (Bitnami)from 3.8.0 before 3.8.1Bitnami Vulnerability Database

All scores

@huntr_ai10.0critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
redhat-SADP9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub10.0critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
PyPA Advisory Database10.0critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-77CWE-78

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

What each source says

CVE List

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function. When deploying a model with `env_manager=LOCAL`, MLflow reads dependency specifications from the model artifact's `python_env.yaml` file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.

GitHub Advisory Database

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the _install_model_dependencies_to_env() function. When deploying a model with env_manager=LOCAL, MLflow reads dependency specifications from the model artifact's python_env.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.1.

NVD (es)

Existe una vulnerabilidad de inyección de comandos en el código de inicialización del contenedor de servicio de modelos de MLflow, específicamente en la función `_install_model_dependencies_to_env()`. Al desplegar un modelo con `env_manager=LOCAL`, MLflow lee las especificaciones de dependencia del archivo `python_env.yaml` del artefacto del modelo y las interpola directamente en un comando de shell sin sanitización. Esto permite a un atacante suministrar un artefacto de modelo malicioso y lograr la ejecución arbitraria de comandos en sistemas que despliegan el modelo. La vulnerabilidad afecta a las versiones 3.8.0 y está corregida en la versión 3.8.2.

References

https://huntr.com/bounties/dc9c1c20-7879-4050-87df-4d095fe5ca75advisory, exploit, third-party-advisory, web
https://github.com/mlflow/mlflow/commit/361b6f620adf98385c6721e384fb5ef9a30bb05efix, patch, web
https://access.redhat.com/security/cve/CVE-2025-15379advisory, third-party-advisory, vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2452949advisory, issue-tracking, third-party-advisory, web
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15379.jsonadvisory, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2025-15379advisory, web
https://github.com/mlflow/mlflow/commit/a22ce7157f646bdce4c95106fc38ccc9ca289205web
https://github.com/mlflow/mlflowpackage
https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-423.yamlweb
https://pypi.org/project/mlflowpackage, web
https://github.com/advisories/GHSA-r23q-823p-vmf7advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-15379 changed 2026-09-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-r23q-823p-vmf7 changed 2026-11-16CC-BY-4.0
NVDCVE-2025-15379 changed 2026-09-04Public domain
PyPA Advisory DatabasePYSEC-2026-423 changed 2026-07-01CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-MLFLOW-2025-15379 changed 2026-09-10Apache-2.0