Security Digest · Vulnerability record

CVE-2025-15379: MLflow Command Injection vulnerability

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the installmodeldependenciestoenv() function.

CVSS 9.0 Critical EPSS 2.4% · p84

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 2.4%, percentile 84: FIRST’s model estimates a 2.4% chance of exploitation activity in the next 30 days, higher than 84% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes mlflow (PyPI) < 3.8.1, fixed in 3.8.1. Check your lockfile, including transitive dependencies.

What it is

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the installmodeldependenciestoenv() function. When deploying a model with envmanager=LOCAL, MLflow reads dependency specifications from the model artifact's pythonenv.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.

From the GitHub advisory

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the installmodeldependenciestoenv() function. When deploying a model with envmanager=LOCAL, MLflow reads dependency specifications from the model artifact's pythonenv.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.1.

Weakness type: CWE-77, CWE-78.

Product: mlflow (PyPI) · Assigned by: @huntr_ai · Published: 2026-03-30

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPImlflow< 3.8.13.8.1
VendorProductAffected versions (per CVE record)
mlflowmlflow/mlflowunspecified < 3.8.2

Severity scores

Scored byCVSSScoreVector
@huntr_ai3.010 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
redhat-SADP3.19 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub3.110.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: required (a user must click/open something)
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 2.36% probability of exploitation activity in the next 30 days; percentile 84.

Timeline

  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-r23q-823p-vmf7 published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-r23q-823p-vmf7 github.com
  2. CVE.org record CVE-2025-15379 cve.org
  3. NVD entry CVE-2025-15379 nvd.nist.gov

Other references from the CVE record and advisory

  1. huntr.com huntr.com
  2. github.com github.com
  3. access.redhat.com access.redhat.com
  4. RHBZ#2452949 bugzilla.redhat.com
  5. security.access.redhat.com security.access.redhat.com
  6. github.com github.com

Critical PyPI advisories · Today’s Security Digest