CVE-2026-0596
JSON

9.6critical

Command Injection in mlflow/mlflow

Severity
9.6critical CVSS:3.0 by @huntr_ai
Exploit likelihood
1.39% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-rvhj-8chj-8v3cBIT-MLFLOW-2026-0596PYSEC-2026-424

Description

A command injection vulnerability exists in mlflow/mlflow when serving a model with `enable_mlserver=True`. The `model_uri` is embedded directly into a shell command executed via `bash -c` without proper sanitization. If the `model_uri` contains shell metacharacters, such as `$()` or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.

Affected

Product or packageVersionsReported by
mlflow mlflow/mlflowfrom unspecified up to latestCVE List
mlflow (PyPI)before 3.9.0GitHub Advisory Database, PyPA Advisory Database
lfprojects mlflowNot specifiedNVD
mlflow (Bitnami)before 3.11.1Bitnami Vulnerability Database

All scores

@huntr_ai9.6critical CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub9.6critical CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.6critical CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-78

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

What each source says

CVE List

A command injection vulnerability exists in mlflow/mlflow when serving a model with `enable_mlserver=True`. The `model_uri` is embedded directly into a shell command executed via `bash -c` without proper sanitization. If the `model_uri` contains shell metacharacters, such as `$()` or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.

GitHub Advisory Database

A command injection vulnerability exists in Mlflow when serving a model with enable_mlserver=True. The model_uri is embedded directly into a shell command executed via bash -c without proper sanitization. If the model_uri contains shell metacharacters, such as $() or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.

NVD (es)

Una vulnerabilidad de inyección de comandos existe en mlflow/mlflow al servir un modelo con 'enable_mlserver=True'. El 'model_uri' se incrusta directamente en un comando de shell ejecutado a través de 'bash -c' sin una sanitización adecuada. Si el 'model_uri' contiene metacaracteres de shell, como $() o comillas invertidas, permite la sustitución de comandos y la ejecución de comandos controlados por el atacante. Esta vulnerabilidad afecta la última versión de mlflow/mlflow y puede conducir a la escalada de privilegios si un servicio con mayores privilegios sirve modelos desde un directorio escribible por usuarios con menores privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-0596 changed 2026-04-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-rvhj-8chj-8v3c changed 2026-11-16CC-BY-4.0
NVDCVE-2026-0596 changed 2026-07-21Public domain
PyPA Advisory DatabasePYSEC-2026-424 changed 2026-07-01CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-MLFLOW-2026-0596 changed 2026-09-10Apache-2.0