highCVSS 7.8NVD status: Analyzed

CVE-2026-0596

MLflow: A command injection vulnerability exists in mlflow/mlflow when serving a model with `enable_mlserver=True`.

ComponentMLflow
Severityhigh (CVSS 7.8)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-03-31
Last modified2026-07-21
Affected versions
mlflow all versions
Fixed insee the vendor advisory
WeaknessCWE-78
CISA KEVnot listed

NVD 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.

Does CVE-2026-0596 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for MLflow.
Check my stack

What to do

  • NVD lists no fixed version yet: follow the vendor advisory below and keep MLflow off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other MLflow CVEs

All MLflow CVEs