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

Published Mar 31, 2026
·
Updated

A command injection vulnerability exists in mlflow/mlflow when serving a model with enablemlserver=True. The modeluri is embedded directly into a shell command executed via bash -c without proper sanitization. If the modeluri 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.

Affected Software

2 affected components
pypi/mlflow
Lfprojects Mlflow

Event History

Mar 31, 2026
CVE Published
via MITRE·02:25 PM
Data Sourced
via MITRE·02:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Jan 16, 58255
Event
via NVD·06:17 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-0596?

The severity of CVE-2026-0596 is considered high due to the potential for command injection.

2

How do I fix CVE-2026-0596?

To fix CVE-2026-0596, validate and properly sanitize the `model_uri` before using it in shell commands.

3

What systems are affected by CVE-2026-0596?

CVE-2026-0596 affects mlflow/mlflow when serving a model with the `enable_mlserver` parameter set to true.

4

What type of vulnerability is CVE-2026-0596?

CVE-2026-0596 is a command injection vulnerability allowing an attacker to execute arbitrary commands.

5

When was CVE-2026-0596 announced?

CVE-2026-0596 was announced as part of ongoing security assessments of the mlflow/mlflow project.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203