RCE in Lfprojects Mlflow
CVE-2026-0596
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 72.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lfprojects Mlflow
- Mlflow Mlflow/mlflow — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- SparshBiswas-AI/CVE-2026-0596-Reproduction (last pushed 2026-05-19): Research environment and validation scripts for evaluating deserialization behaviors in MLflow and MLServer.
References
- huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.