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.