CVE-2026-0596 — Vulnerability in mlflow — CVE Details
Mlflow: Command Injection when serving models with enable_mlserver=True
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.08%). Schedule for your next planned update.
Does your project use an affected mlflow version?
Paste your requirements.txt to check it for CVE-2026-0596 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A command injection vulnerability exists in 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.
Advisory Timeline
- First published March 31, 2026 (240 days ago).
- Last revised June 29, 2026 — 90 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "mlflow>=3.9.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| mlflow PyPI · Affected: 0.0.1, 0.1.0, 0.2.0, 0.2.1 (+165 more) | 3.9.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-0596?
- Mlflow: Command Injection when serving models with enable_mlserver=True. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2026-0596?
- CVE-2026-0596 affects mlflow. It has a 2.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-0596 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 82.2% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-6975CRITICAL
MLFlow Path Traversal Vulnerability
- CVE-2025-15379CRITICAL
MLflow Command Injection vulnerability
- CVE-2025-15036CRITICAL
MLFlow path traversal vulnerability
- CVE-2026-116692CRITICAL
MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
- CVE-2026-2611CRITICAL
MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution
- CVE-2026-64849CRITICAL
MLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebinding)
- CVE-2026-4035CRITICAL
MLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltration
- CVE-2026-2635CRITICAL
MLflow Use of Default Password Authentication Bypass Vulnerability