Command Injection in mlflow/mlflow
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MLflow | mlflow/mlflow | up to latest | — | No fix listed | CNA |
| — | mlflow (PyPI) | before 3.9.0 | 3.9.0 | Patch available | GHSA-rvhj-8chj-8v3c |
- mlflow/mlflow VendorMLflow Affected up to latest Fixed in — No fix listed CNA
- mlflow (PyPI) Vendor— Affected before 3.9.0 Fixed in 3.9.0 Patch available GHSA-rvhj-8chj-8v3c
Remediation
- Fix · GHSA-rvhj-8chj-8v3c mlflow (PyPI) Fixed in 3.9.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-0596
- 2026-10-03 Alias added: GHSA-rvhj-8chj-8v3c
References
More Mlflow vulnerabilities
- TI-2026-46366 Server-side request forgery in mlflow KEVCVSS 3.1CRITICAL 9.3
- TI-2023-03518 Absolute Path Traversal in mlflow/mlflow CVSS 3.1CRITICAL 10.0
- TI-2023-01113 Path Traversal: '\..\filename' in mlflow/mlflow CVSS 3.1CRITICAL 9.8
- TI-2025-14028 Command Injection in mlflow/mlflow CVSS 3.1CRITICAL 10.0
- TI-2023-05540 MLflow Authentication Bypass CVSS 3.1CRITICAL 9.8
- TI-2023-02603 Path Traversal: '\..\filename' in mlflow/mlflow CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-0596 · CVE Program
- CVE-2026-0596 · NVD
- FIRST EPSS
- GHSA-rvhj-8chj-8v3c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences