CVE-2026-71211

HIGH

mlflow: Unvalidated Gateway Secret api_base Enables SSRF via Gateway Proxy Endpoint

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-71211. PoCs published by Abdivasiyev2008.

AI-analyzed exploit summary This repository provides a detailed technical walkthrough of CVE-2026-71211, an SSRF vulnerability in a machine learning model deployment framework. The PNG files illustrate the attack flow, including environment setup, secret creation, model definition, endpoint creation, and SSRF triggering, with server-side proof of exploitation.

Description

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.

Exploits (1)

github WRITEUP
by Abdivasiyev2008 · poc
https://github.com/Abdivasiyev2008/CVE-2026-71211-exploit

This repository provides a detailed technical walkthrough of CVE-2026-71211, an SSRF vulnerability in a machine learning model deployment framework. The PNG files illustrate the attack flow, including environment setup, secret creation, model definition, endpoint creation, and SSRF triggering, with server-side proof of exploitation.

Classification
Writeup 95%
Attack Type
Ssrf
Complexity
Moderate
Reliability
Reliable
Target: Unspecified machine learning model deployment framework (likely a cloud-based ML service)
Auth required
Prerequisites: Access to a vulnerable ML model deployment framework · Valid credentials to create secrets, models, and endpoints · Ability to craft malicious model definitions or input data to trigger SSRF
mistral-large-3 · analyzed Aug 06, 2026 Full analysis →

References (1)

Core 1

Scores

CVSS v3 7.1
EPSS 0.0021
EPSS Percentile 11.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-918
Status published
Products (1)
mlflow/mlflow < 3.14.0
Published Aug 05, 2026
Tracked Since Aug 05, 2026