CVE-2026-0596
Command Injection in mlflow/mlflow
CRITICAL 9.6
At a glance
- Source
- NVD
- EPSS
- EPSS 1.39 % · percentile 72 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- @huntr_ai
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-78 — OS Command Injection
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | CRITICAL 9.6 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | @huntr_ai |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | CRITICAL 9.6 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD · security@huntr.dev (Secondary) |
Advisories
- GHSA-rvhj-8chj-8v3c — Mlflow: Command Injection when serving models with enable_mlserver=True
- PYSEC-2026-424 — Mlflow: Command Injection when serving models with enable_mlserver=True
European references
- ENISA EUVD · EUVD-2026-17415
- GCVE · GCVE-0-2026-0596
Affected configurations (NVD CPE)
cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| mlflow · mlflow/mlflow | affected unspecified ≤ latest |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |