Loading...
Skip to main content

CVE-2026-0596 — Vulnerability in mlflow — CVE Details

CRITICAL

Mlflow: Command Injection when serving models with enable_mlserver=True

Published March 31, 2026Updated June 29, 2026Source: osv

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 (195 days ago).
  • Last revised June 29, 2026 — 90 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update mlflow to 3.9.0 or later
pip install "mlflow>=3.9.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
mlflow
pypi
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-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-0596 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rvhj-8chj-8v3c
BIT-mlflow-2026-0596
PYSEC-2026-424

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies