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.
References
Link Resource
https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 Third Party Advisory Exploit
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*

History

14 Apr 2026, 16:01

Type Values Removed Values Added
CPE cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*
First Time Lfprojects mlflow
Lfprojects
References () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - Third Party Advisory, Exploit
CVSS v2 : unknown
v3 : 9.6
v2 : unknown
v3 : 7.8

31 Mar 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 15:16

Updated : 2026-04-14 16:01


NVD link : CVE-2026-0596

Mitre link : CVE-2026-0596

CVE.ORG link : CVE-2026-0596


JSON object : View

Products Affected

lfprojects

  • mlflow
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')