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)

EPSS: 0.013 (69.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-0596?
CVE-2026-0596 is a high-severity vulnerability in Lfprojects Mlflow, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-03-31.
How severe is CVE-2026-0596?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2026-0596 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.