Command Injection in mlflow/mlflow (mlflow mlflow/mlflow)
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 β Improper Neutralization of Special Elements used in an OS Command
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 |