All vulnerabilities

Servers and applications

CVE-2026-4035

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…

Severity
High 7.7
Published
3 Jun 2026
Last changed
14 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.11.0
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure through sent data (CWE-201)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
MLflowServers and applications · cpe:a:lfprojects:mlflow
  • Every version before 3.11.0

About MLflow

Python library

From Wikidata, CC0 1.0.
Monthly downloads
30M+MLflow
Weekly downloads (PyPI)
5,332,947PyPI Stats, 15 Nov 2026
GitHub stars
28,816GitHub, 15 Nov 2026
Forks
6,611GitHub, 15 Nov 2026
Latest release
v3.18.0GitHub, 15 Nov 2026
Released
4 Nov 2026GitHub
License
Apache Software License 2.0Wikidata
First published on GitHub
5 Jun 2018GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-4035
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-4035