Impact
The MLflow AI Gateway allows users to create gateway secrets that store an auth_config.api_base value without validating its scheme, hostname, or IP address. The gateway proxy endpoint later constructs an outbound HTTP request to this stored api_base and appends a caller-supplied path, returning the full response to the requester. Because the application will contact any host specified in the stored url, an attacker can cause the MLflow server to make requests to arbitrary internal or external addresses, creating a Server Side Request Forgery vulnerability (CWE‑918). This can expose internal resources or return sensitive data back to the attacker.
Affected Systems
All MLflow installations that expose the AI Gateway functionality—including the gateway secret creation endpoint and the raw_proxy endpoint—are vulnerable. The flaw exists in the code shown in the v3.14.0 source tree and is present in any version of mlflow:mlflow that lacks input validation for api_base. No specific version range is provided, but the problem is present until a patch is released.
Risk and Exploitability
The CVSS score of 7.1 marks this as a high severity vulnerability. The EPSS score of <1% indicates a currently low likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. An attacker can trigger the SSRF by sending a request to the gateway proxy endpoint with a crafted path that forces the server to query a malicious api_base, potentially leaking data that the MLflow server can reach.
OpenCVE Enrichment