CVE-2026-0596: Mlflow · Command Injection when serving models with enable_mlserver=True
Affects mlflowSource GCVE Database
Not known to be exploited · CVSS 9.6 Critical : upgrade to 3.9.0 as a priority.
Data as of 16 Nov 2026, 16:51 UTC
- Patch
- Available – fixed in 3.9.0
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade mlflow to 3.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPImlflow | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Mlflow to version 3.9.0 or later, where this vulnerability is fixed. Avoid serving models with enable_mlserver=True on versions prior to 3.9.0. Ensure that model directories are not writable by untrusted or lower-privileged users to reduce risk. Since a patch is available, applying the official fix is the recommended remediation.
Description
Mlflow versions prior to 3.9.0 contain a command injection vulnerability when serving models with the enable_mlserver option enabled. The vulnerability arises because the model_uri parameter is embedded unsafely into a shell command executed via bash, allowing an attacker to inject shell metacharacters and execute arbitrary commands. This can lead to privilege escalation if the service runs with higher privileges and serves models from directories writable by lower-privileged users. A fix is available in version 3.9.0.
References
- nvd.nist.gov/vuln/detail/CVE-2026-0596 (opens in a new tab)
- github.com/mlflow/mlflow/pull/19738 (opens in a new tab)
- github.com/mlflow/mlflow/commit/202fac4c83ccc8544c087c142b80196d0e60695c (opens in a new tab)
- github.com/mlflow/mlflow (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-424.yaml (opens in a new tab)
- huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 (opens in a new tab)
- pypi.org/project/mlflow (opens in a new tab)