PoC Monitor
← All CVEs
CVE-2026-0596published 31 Mar 2026 14:25 UTCData: JSON · API

Mlflow mlflow/mlflow

Command Injection in mlflow/mlflow

A command injection vulnerability exists in mlflow/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.

First public PoC 48 daysafter publication · 18 May 2026
Public PoCs11 on GitHub
CVSS9.6critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

mlflow mlflow/mlflow
  • >= unspecified, <= latest
mlflow (PyPI)
  • < 3.9.0

Fixed in 3.9.0

from GitHub Security Advisory GHSA-rvhj-8chj-8v3c

Mitigation

Upgrade mlflow to 3.9.0 or later.

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42+49CVE published31 Mar 2026 · t = 0First public PoC18 May 2026 · t+48d

First public PoC 48 days after publication; not in CISA KEV. First PoC: SparshBiswas-AI/CVE-2026-0596-Reproduction (created 18 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
SparshBiswas-AI/CVE-2026-0596-Reproduction 18 May 2026 +48 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /invocations

Content-Type
application/json
Ports
5000
Seen in
1 repo: SparshBiswas-AI/CVE-2026-0596-Reproduction
Evidence
SparshBiswas-AI/CVE-2026-0596-Reproduction/verify_poc.py:30

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /var/lib/apt/lists/*
(?i)^/var/lib/apt/lists/\*(?:[?#].*)?$
POST /invocations
(?i)^/invocations(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /var/lib/apt/lists/*
alert http any any -> $HOME_NET [5000] (msg:"GG PoC-Monitor CVE-2026-0596 mlflow mlflow/mlflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/var/lib/apt/lists/*"; reference:url,poc.griffinguard.io/cve/CVE-2026-0596; classtype:web-application-attack; sid:9702852; rev:1;)
POST /invocations
alert http any any -> $HOME_NET [5000] (msg:"GG PoC-Monitor CVE-2026-0596 mlflow mlflow/mlflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/invocations"; reference:url,poc.griffinguard.io/cve/CVE-2026-0596; classtype:web-application-attack; sid:9834189; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /var/lib/apt/lists/*
title: mlflow mlflow/mlflow exploit attempt (CVE-2026-0596)
id: gg-pocmon-cve-2026-0596-9702852
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0596. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-0596
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/var/lib/apt/lists/*'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.0596
POST /invocations
title: mlflow mlflow/mlflow exploit attempt (CVE-2026-0596)
id: gg-pocmon-cve-2026-0596-9834189
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0596. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-0596
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/invocations'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.0596