CVE-2026-0596

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.
References
Link Resource
https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*

History

21 Jul 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de inyección de comandos existe en mlflow/mlflow al servir un modelo con 'enable_mlserver=True'. El 'model_uri' se incrusta directamente en un comando de shell ejecutado a través de 'bash -c' sin una sanitización adecuada. Si el 'model_uri' contiene metacaracteres de shell, como $() o comillas invertidas, permite la sustitución de comandos y la ejecución de comandos controlados por el atacante. Esta vulnerabilidad afecta la última versión de mlflow/mlflow y puede conducir a la escalada de privilegios si un servicio con mayores privilegios sirve modelos desde un directorio escribible por usuarios con menores privilegios.

17 Jun 2026, 10:11

Type Values Removed Values Added
References () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - Third Party Advisory, Exploit () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - Exploit, Third Party Advisory

14 Apr 2026, 16:01

Type Values Removed Values Added
First Time Lfprojects mlflow
Lfprojects
References () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - () https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285 - Third Party Advisory, Exploit
CPE cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 9.6
v2 : unknown
v3 : 7.8

31 Mar 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 15:16

Updated : 2026-07-21 19:10


NVD link : CVE-2026-0596

Mitre link : CVE-2026-0596

CVE.ORG link : CVE-2026-0596


JSON object : View

Products Affected

lfprojects

  • mlflow
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')