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… (CVE-2026-71211)
MLflow's AI Gateway has a vulnerability where the auth_config.api_base value used to create a gateway secret is accepted without validation of scheme, host, or IP range. This value is stored verbatim and later used by the gateway proxy endpoint to issue HTTP requests, potentially allowing SSRF attacks. The existing SSRF protections are not applied in this code path. Additionally, the CreateGatewaySecret action requires only basic authentication, allowing any authenticated user, including read-only accounts, to exploit this issue and potentially access internal addresses such as cloud metadata services.
AI Analysis
Technical Summary
The vulnerability in MLflow's AI Gateway involves the acceptance and storage of an unvalidated auth_config.api_base value when creating a gateway secret. This value is later used by the gateway proxy endpoint to make HTTP requests to arbitrary destinations combined with a caller-supplied path, without invoking the existing SSRF guard that blocks non-global and metadata IPs. The CreateGatewaySecret action lacks specific permission validation and requires only basic authentication, enabling any authenticated user, including those with read-only access, to create secrets pointing to internal addresses. This can lead to server-side request forgery (SSRF) attacks, potentially exposing sensitive cloud-instance IAM credentials via metadata services. This issue is distinct from CVE-2026-4035, which addresses a different credential leakage mechanism in the same feature.
Potential Impact
An attacker with any authenticated access, including read-only users, can create a gateway secret with a malicious api_base value pointing to internal or sensitive network addresses. This can be exploited via the gateway proxy endpoint to perform SSRF attacks, potentially exposing sensitive information such as cloud instance IAM credentials from metadata services. The vulnerability allows unauthorized internal network access and information disclosure, impacting confidentiality with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict authenticated user permissions to prevent unauthorized creation of gateway secrets. Monitor for unusual gateway secret creation activity and avoid exposing the gateway proxy endpoint to untrusted users. Follow vendor guidance once an official fix or update is released.
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… (CVE-2026-71211)
Description
MLflow's AI Gateway has a vulnerability where the auth_config.api_base value used to create a gateway secret is accepted without validation of scheme, host, or IP range. This value is stored verbatim and later used by the gateway proxy endpoint to issue HTTP requests, potentially allowing SSRF attacks. The existing SSRF protections are not applied in this code path. Additionally, the CreateGatewaySecret action requires only basic authentication, allowing any authenticated user, including read-only accounts, to exploit this issue and potentially access internal addresses such as cloud metadata services.
CVSS v3.1
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in MLflow's AI Gateway involves the acceptance and storage of an unvalidated auth_config.api_base value when creating a gateway secret. This value is later used by the gateway proxy endpoint to make HTTP requests to arbitrary destinations combined with a caller-supplied path, without invoking the existing SSRF guard that blocks non-global and metadata IPs. The CreateGatewaySecret action lacks specific permission validation and requires only basic authentication, enabling any authenticated user, including those with read-only access, to create secrets pointing to internal addresses. This can lead to server-side request forgery (SSRF) attacks, potentially exposing sensitive cloud-instance IAM credentials via metadata services. This issue is distinct from CVE-2026-4035, which addresses a different credential leakage mechanism in the same feature.
Potential Impact
An attacker with any authenticated access, including read-only users, can create a gateway secret with a malicious api_base value pointing to internal or sensitive network addresses. This can be exploited via the gateway proxy endpoint to perform SSRF attacks, potentially exposing sensitive information such as cloud instance IAM credentials from metadata services. The vulnerability allows unauthorized internal network access and information disclosure, impacting confidentiality with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict authenticated user permissions to prevent unauthorized creation of gateway secrets. Monitor for unusual gateway secret creation activity and avoid exposing the gateway proxy endpoint to untrusted users. Follow vendor guidance once an official fix or update is released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h7x2-h6g9-p789
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71211"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a79f0d1bf8831d539f60f2c
Added to database: 08/10/2026, 15:40:01 UTC
Last enriched: 08/10/2026, 15:52:32 UTC
Last updated: 08/11/2026, 00:41:14 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.