# CVE-2026-0596: Command Injection in mlflow/mlflow

- Severity: Critical 9.6 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T14:25:27.716Z
- Modified: 2026-11-16T15:45:09.934Z
- Also known as: GHSA-rvhj-8chj-8v3c, BIT-MLFLOW-2026-0596, PYSEC-2026-424
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- mlflow mlflow/mlflow: from unspecified up to latest
- mlflow (PyPI): before 3.9.0
- lfprojects mlflow: no versions given
- mlflow (Bitnami): before 3.11.1

## Every score

- @huntr_ai: CVSS:3.0 9.6 Critical `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.6 Critical `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.6 Critical `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285> (exploit, advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0596> (advisory, web)
- <https://github.com/mlflow/mlflow/pull/19738> (web)
- <https://github.com/mlflow/mlflow/commit/202fac4c83ccc8544c087c142b80196d0e60695c> (web)
- <https://github.com/mlflow/mlflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-424.yaml> (web)
- <https://pypi.org/project/mlflow> (package, web)
- <https://github.com/advisories/GHSA-rvhj-8chj-8v3c> (advisory)

## Sources

- CVE List: [CVE-2026-0596](https://www.cve.org/CVERecord?id=CVE-2026-0596), CVE Terms of Use, modified 2026-04-01
- GitHub Advisory Database: [GHSA-rvhj-8chj-8v3c](https://github.com/advisories/GHSA-rvhj-8chj-8v3c), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-0596](https://nvd.nist.gov/vuln/detail/CVE-2026-0596), Public domain, modified 2026-07-21
- PyPA Advisory Database: [PYSEC-2026-424](https://osv.dev/vulnerability/PYSEC-2026-424), CC-BY-4.0, modified 2026-07-01
- Bitnami Vulnerability Database: [BIT-MLFLOW-2026-0596](https://osv.dev/vulnerability/BIT-MLFLOW-2026-0596), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-0596 · Whole record: https://cve.day/CVE-2026-0596.json · Rebuilt by cve.day 2026-11-25T22:59:17.577Z
