{"id":"CVE-2026-71211","aliases":["CVE-2026-71211","GHSA-h7x2-h6g9-p789","PYSEC-2026-3865"],"related":[],"kind":"vulnerability","state":"published","title":"mlflow - Unvalidated Gateway Secret api_base Enables SSRF via Gateway Proxy Endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2026-08-05T06:59:23.394Z","modified":"2026-09-10T12:26:03.922Z","severity":{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"3.14.0","status":"affected"}],"vendor":"mlflow","product":"mlflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.13.0","status":"affected","lastAffected":"3.15.2"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.13.0","status":"affected","lastAffected":"3.15.2"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"pysec"}],"references":[{"url":"https://github.com/mlflow/mlflow/tree/v3.14.0/mlflow","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71211","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow/commit/96b7d900e14227e0821981409d86f5fb6c59b386","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/mlflow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-h7x2-h6g9-p789","tags":["advisory"],"sources":["pysec"]}],"credits":["Abdivasiyev Sunnatillo"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-05T13:26:24.686Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71211","url":"https://www.cve.org/CVERecord?id=CVE-2026-71211","licence":"CVE Terms of Use","modified":"2026-08-10T11:45:17.551Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h7x2-h6g9-p789","url":"https://github.com/advisories/GHSA-h7x2-h6g9-p789","licence":"CC-BY-4.0","modified":"2026-09-10T12:26:03.922Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71211","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71211","licence":"Public domain","modified":"2026-08-26T17:36:16.900Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3865","url":"https://osv.dev/vulnerability/PYSEC-2026-3865","licence":"CC-BY-4.0","modified":"2026-09-10T12:15:09.110Z"}],"updatedAt":"2026-11-25T22:59:31.083Z","epss":{"score":0.00303,"percentile":0.24863,"date":"2026-12-01T12:00:22.000Z"}}