Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-4035
Published:June 03, 2026
Updated:June 07, 2026
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.
Affected Packages
mlflow (CONDA):
Affected version(s) >=0.9.0.1 <3.11.0
Fix Suggestion:
Update to version 3.11.0
https://github.com/mlflow/mlflow.git (GITHUB):
Affected version(s) >=v0.2.0 <v3.11.1
Fix Suggestion:
Update to version v3.11.1
mlflow (PYTHON):
Affected version(s) >=0.0.1 <3.11.0
Fix Suggestion:
Update to version 3.11.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Insertion of Sensitive Information Into Sent Data
EPSS
Base Score:
0.09