{"id":"CVE-2026-0596","published":"2026-03-31T14:25:27Z","modified":"2026-04-01T03:55:35Z","title":"Command Injection in mlflow/mlflow","vendor":"mlflow","product":"mlflow/mlflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0132,"percentile":0.71569,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285","tags":[]}],"priority":{"score":26.0,"factors":[{"name":"EPSS percentile","points":14.31},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.72}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-18","earliestUrl":"https://github.com/SparshBiswas-AI/CVE-2026-0596-Reproduction","repos":[{"name":"SparshBiswas-AI/CVE-2026-0596-Reproduction","url":"https://github.com/SparshBiswas-AI/CVE-2026-0596-Reproduction","stars":0,"created":"2026-05-18"}]},"first":{"date":"2026-05-18","source":"PoC-in-GitHub","url":"https://github.com/SparshBiswas-AI/CVE-2026-0596-Reproduction"},"provenance":"source"},"vendorSlug":"mlflow","affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-31T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<3.9.0"],"patched":["3.9.0"],"from":["GHSA-rvhj-8chj-8v3c","PYSEC-2026-424"],"provenance":"source"}],"summary":{"text":"A command injection flaw in mlflow/mlflow affects model serving when enable_mlserver=True is set, because the model_uri is placed unsanitised into a shell command run via bash -c. An attacker who can supply a model_uri containing shell metacharacters such as $() or backticks can run arbitrary commands, which may enable privilege escalation where a higher-privileged service serves models from a directory writable by lower-privileged users; the attack vector is network-reachable with no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:15Z"},"euvd":{"id":"EUVD-2026-17415","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-15379","published":"2026-03-30","fixed":"3.8.1","kev":false},{"cve":"CVE-2025-15031","published":"2026-03-18","fixed":"3.9.0rc0","kev":false},{"cve":"CVE-2025-15036","published":"2026-03-30","fixed":"3.9.0rc0","kev":false,"link":{"from":"CVE-2025-15036","to":"CVE-2026-0596","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mlflow","fromFixed":"3.9.0rc0","toFixed":"3.9.0","daysApart":1}]}},{"cve":"CVE-2026-0596","published":"2026-03-31","fixed":"3.9.0","kev":false},{"cve":"CVE-2026-2393","published":"2026-05-11","fixed":"3.9.0","kev":false},{"cve":"CVE-2026-2611","published":"2026-05-19","fixed":"3.10.0","kev":false},{"cve":"CVE-2026-2614","published":"2026-05-11","fixed":"3.10.0","kev":false}],"package":"PyPI:mlflow"}}