CVE-2026-0596: Command Injection in mlflow/mlflow
A command injection vulnerability exists in mlflow/mlflow when serving a model with enablemlserver=True. The modeluri is embedded directly into a shell command executed via bash -c without proper sanitization. If the modeluri 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-0596?
The severity of CVE-2026-0596 is considered high due to the potential for command injection.
How do I fix CVE-2026-0596?
To fix CVE-2026-0596, validate and properly sanitize the `model_uri` before using it in shell commands.
What systems are affected by CVE-2026-0596?
CVE-2026-0596 affects mlflow/mlflow when serving a model with the `enable_mlserver` parameter set to true.
What type of vulnerability is CVE-2026-0596?
CVE-2026-0596 is a command injection vulnerability allowing an attacker to execute arbitrary commands.
When was CVE-2026-0596 announced?
CVE-2026-0596 was announced as part of ongoing security assessments of the mlflow/mlflow project.