CVE-2026-4035CWE-201

CVE-2026-4035

High · published June 3, 2026

CVSS v3.1
7.7
EPSS
1%
Percentile
50.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00660 · 50.9th percentile
Weakness
CWE-201 · Insertion of Sensitive Information Into Sent Data
Published
2026-06-03T13:16Z
Affected products (1)
ProductVersionsFixed in
lfprojects/mlflow< 3.11.03.11.0
References (6)
EPSS history
Timeline
  • 03 JUN 07:18Z
    Environment Variable Resolution Vulnerability in mlflow/mlflow
    cvelistv5