Patchfirst
CVE-2026-4035 Critical · 9.1 EPSS 0.5%

Environment Variable Resolution Vulnerability in mlflow/mlflow

Fix:upgrade mlflow to 3.17.2 or later also fixes CVE-2023-1177, CVE-2023-2356, +11 Details ↓

mlflow · mlflow/mlflow

Official description · CVE.org

A vulnerability in mlflow/mlflow versions prior to 3.11.0 allows for the resolution of environment variables in AI Gateway secrets, which can be exploited to exfiltrate sensitive server-side environment credentials to an attacker-controlled endpoint. This issue arises because the `api_key` field in gateway secrets can accept `$ENV_VAR` references, which are resolved against the MLflow server's environment during runtime. The resolved secrets are then sent in provider authentication headers to the configured upstream `api_base`. This vulnerability can be exploited by low-privileged authenticated users in basic-auth deployments or by unauthenticated users in default deployments without `basic-auth`. The impact includes potential leakage of sensitive credentials such as cloud artifact credentials (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`), which could lead to artifact poisoning and cross-boundary code execution in downstream environments. The issue is fixed in version 3.11.0.

Breakdown
62.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 5 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+5 mo

Affected versions and fixes

as published in the CVE record

mlflow mlflow/mlflow

Affected: >= unspecified, < 3.11.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: mlflow.

Upgrade to 3.17.2 or later

Fixes this CVE and 13 other known vulnerabilities in this package (CVE-2023-1177, CVE-2023-2356, +11).

pippip install "mlflow>=3.17.2"

First fixed in 3.11.0 for CVE-2026-4035.

Affected versions

If you runUpgrade to
All versions before 3.11.03.17.2first fix for this CVE: 3.11.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close