9.1

CVE-2026-4035: Environment Variable Resolution Vulnerability in mlflow/mlflow

Modified
AliasesGHSA-g35p-px32-whv6BIT-mlflow-2026-4035PYSEC-2026-2222
Published 03-06-2026Last modified 14-08-2026

Vulnerability summary

CVE-2026-4035 is a critical (CVSS 9.1) vulnerability in lfprojects mlflow. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.0 (CVE.org)
EPSS score
0.52%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 03-06-2026
    PublishedVulnerability first disclosed.
  2. 14-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.52%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • mlflow< 3.16.0-r0
Lfprojects1 product
Mlflow1 product
PyPI1 product
  • mlflow< 3.11.0
Wolfi1 product
  • mlflow< 3.16.0-r0

5 vendors · 5 products

References

9 links