Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mflow
  4. ›
  5. CVE-2026-0596

CVE-2026-0596: Mflow: Command Injection when serving models with enable_mlserver=True

March 31, 2026 (updated April 4, 2026)

A command injection vulnerability exists in Mflow 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

  • github.com/advisories/GHSA-rvhj-8chj-8v3c
  • github.com/mlflow/mlflow
  • github.com/mlflow/mlflow/commit/202fac4c83ccc8544c087c142b80196d0e60695c
  • github.com/mlflow/mlflow/pull/19738
  • huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285
  • nvd.nist.gov/vuln/detail/CVE-2026-0596

Code Behaviors & Features

Detect and mitigate CVE-2026-0596 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.9.0

Fixed versions

  • 3.9.0

Solution

Upgrade to version 3.9.0 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/mflow/CVE-2026-0596.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.