Skip to main content

MLflow EUVDEUVD-2026-53208

| CVE-2026-71211 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-05 TuranSec GHSA-h7x2-h6g9-p789
7.1
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Obtain any valid MLflow account
  2. Delivery
    POST CreateGatewaySecret with api_base pointing to metadata endpoint
  3. Exploit
    api_base stored verbatim without validation
  4. Execution
    Call raw_proxy with IAM credentials path
  5. Persist
    MLflow server fetches internal metadata service
  6. Impact
    Full temporary IAM credentials returned to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires possession of any valid MLflow account - including read-only accounts - because the CreateGatewaySecret action is absent from MLflow's permission-validator map and falls through to basic authentication with no scope enforcement. The AI Gateway feature must be enabled and accessible (it is part of the standard MLflow server but may be disabled by configuration). The MLflow server host must have network-level access to the targeted internal resource; exploitation is most impactful where the host can reach cloud metadata services (e.g., 169.254.169.254 on AWS/GCP/Azure). What limits exploitation: deployments where the MLflow server is firewalled from metadata and internal network ranges face substantially reduced exposure; on-premise deployments with no sensitive internal HTTP services reachable from the MLflow host may have minimal confidentiality impact even if the endpoint is reachable.

Impact

The NVD CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) scores 7.1 and is broadly accurate: the attack is network-reachable, requires no special complexity, and demands only a valid login. The high confidentiality impact is well-grounded - successful exploitation against cloud-hosted instances can return IAM role credentials from the EC2/GCP/Azure metadata service, potentially enabling lateral movement or full account takeover. The independent analysis below assigns S:C rather than S:U because the MLflow server acts as a confused deputy reaching infrastructure outside its intended security boundary, which raises the independent score to 8.5. No EPSS data was provided in the supplied intelligence; no CISA KEV listing exists; and no POC code has been identified at time of analysis. Despite the absence of observed exploitation, the real-world risk for cloud-deployed MLflow instances is high: attack complexity is low, any valid account suffices, and the payoff (cloud credentials) is significant. On-premise deployments with no sensitive internal services reachable from the MLflow host face meaningfully lower risk.

Exploit ScenarioDerived

An attacker holding any valid MLflow account - for example, a read-only service account provisioned for pipeline monitoring - sends a CreateGatewaySecret POST request with auth_config.api_base set to http://169.254.169.254/. The attacker then calls the raw_proxy endpoint with the path /latest/meta-data/iam/security-credentials/<role-name>, causing the MLflow server to fetch the AWS metadata endpoint and return the temporary IAM credentials in the response body. No public exploit code has been identified at time of analysis, but the entire attack requires only two standard HTTP requests with no special tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Aug 05, 2026

MLflow's AI Gateway proxy exposes internal network services - including cloud-instance metadata endpoints - to any authenticated user, including read-only accounts, via an unvalidated api_base field in the CreateGatewaySecret endpoint. All MLflow releases through 3.14.0 are affected; the attack requires only basic credentials and no special configuration, making IAM credential theft a realistic outcome for cloud-hosted deployments. No public exploit has been identified at time of analysis, but the two-step attack (create secret, invoke proxy) involves only standard HTTP requests and no technical barrier beyond holding a valid account.

Earlier versions of this analysis (1)
v1 Aug 05, 2026 - 07:59 CVSS 7.7

Server-side request forgery in MLflow's AI Gateway proxy allows any authenticated user - including read-only accounts - to reach internal network services and cloud instance metadata endpoints by supplying an attacker-controlled api_base value during gateway secret creation. The gateway proxy endpoint issues an HTTP request to the stored api_base concatenated with a caller-supplied path and returns the full response body, enabling exfiltration of cloud IAM credentials via metadata services such as AWS IMDSv1. No public exploit has been identified at time of analysis, though the extremely low exploitation bar - basic authentication only, no special configuration beyond having the AI Gateway feature active - significantly elevates practical risk for cloud-hosted deployments.

RemediationAI

No vendor-released patched version has been independently confirmed at time of analysis - the GitHub reference resolves to the v3.14.0 tree (still the affected version), and no tagged fix release appears in the provided intelligence. Monitor the MLflow GitHub releases and VulDB advisory at https://vuldb.com/vuln/386109 for a patch. Until a fix is available, the most effective compensating control is to block all outbound HTTP connections from the MLflow server host to link-local (169.254.0.0/16), private (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and loopback (127.0.0.0/8) ranges at the host firewall or cloud security-group level - note this may break legitimate internal AI provider integrations. If the AI Gateway feature is not actively used, disable it entirely at the MLflow configuration level. Additionally, restrict CreateGatewaySecret endpoint access to explicitly authorized admin roles via a reverse proxy ACL until the permission-validator map is corrected upstream. Avoid granting any untrusted or automated account a valid MLflow login while these controls are not in place.

Affected VersionsENISA

MLflow 0 ≤3.14.0

Affected Packages

pypi mlflow no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

MLflow (cpe:2.3:a:mlflow:mlflow:*:*:*:*:*:*:*:*) is an open-source ML lifecycle management platform whose AI Gateway feature allows operators to configure upstream AI provider endpoints via gateway secrets. The root cause is CWE-918 (Server-Side Request Forgery): the _create_gateway_secret handler in mlflow/server/handlers.py accepts and stores the auth_config.api_base value verbatim with no scheme, host, or IP-range validation. The raw_proxy function in mlflow/server/gateway_api.py subsequently constructs outbound HTTP requests by concatenating this stored api_base with a caller-supplied path and returns the full response body. MLflow does include a dedicated SSRF guard (_validate_webhook_url) that blocks non-global and metadata IP ranges, but it is never invoked anywhere in the gateway-secret or proxy code path. Compounding the issue, the CreateGatewaySecret action is absent from the permission-validator map entirely, so it falls through to basic authentication rather than enforcing any elevated scope, meaning every authenticated principal - including read-only service accounts - can exploit this path. This is tracked separately from CVE-2026-4035, which addresses server-side environment-variable resolution in the api_key field of the same feature.

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

Vendor (TuranSec) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 8.5 HIGH

S:C assigned because the server acts as a confused deputy reaching metadata services outside MLflow's intended security scope; PR:L reflects the basic-authentication-only requirement.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

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

Lifecycle Timeline

3
Analysis Updated
Aug 05, 2026 - 08:32 vuln.today
v2 - CVSS changed
CVSS changed
Aug 05, 2026 - 08:22 NVD
7.7 (HIGH) 7.1 (HIGH)
CVE Published
Aug 05, 2026 - 06:59 cve.org
HIGH 7.7

DescriptionCVE.org

MLflow's AI Gateway accepts an auth_config.api_base value when creating a gateway secret (mlflow/server/handlers.py, _create_gateway_secret) with no validation of scheme, host, or IP range; the value is stored verbatim. The gateway proxy endpoint (mlflow/server/gateway_api.py, raw_proxy) subsequently issues an HTTP request to that stored api_base plus a caller-supplied path and returns the full response body. MLflow's existing SSRF guard, _validate_webhook_url (which blocks non-global and metadata IPs), is never invoked anywhere in this gateway secret/proxy code path. The CreateGatewaySecret action additionally has no entry in the permission-validator map, so it requires only basic authentication rather than any specific scope, meaning any authenticated user - including read-only accounts - can create a secret pointing at an internal address and reach it via the proxy endpoint, potentially exposing cloud-instance IAM credentials via metadata services. This is related to CVE-2026-4035, which addresses a distinct mechanism in the same gateway-secret feature (server-side $ENV_VAR resolution inside the api_key field leaking credentials to the configured upstream); the finding here is an independent missing-validation gap in the api_base destination itself, unaffected by that fix.

Executive ViewAI

Why It Matters

MLflow AI Gateway proxy (versions through 3.14.0) allows any authenticated user-including those with read-only permissions-to impersonate the service and access sensitive cloud credentials and internal metadata, enabling credential theft across cloud-hosted deployments. This vulnerability presents an immediate insider threat risk for organizations running MLflow, as compromised credentials typically enable attackers to escalate privileges and pivot through cloud infrastructure. With no vendor patch currently available, organizations must implement urgent compensating controls to prevent credential compromise.

Business Impact: High
Compensating Controls

Restrict CreateGatewaySecret endpoint to administrative users via role-based access controls; implement network-layer blocking of cloud metadata service endpoints (e.g., security groups, firewall rules) to prevent MLflow processes from reaching 169.254.169.254 and equivalent addresses; apply least-privilege IAM principles to MLflow service accounts to limit the blast radius if credentials are compromised; enable comprehensive audit logging of all gateway secret creation and proxy invocation operations for forensic investigation and detection of unauthorized activity.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
widely deployed open-source ML lifecycle platform across enterprise data-science teams
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor 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.2%
Patch available No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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