BigBadAI

PYSEC-2026-3865

MLflow AI Gateway permits SSRF through an unvalidated api_base

Published Sep 10, 2026 · Source: OSV.dev. Data collected Sat, 28 Nov 2026 19:06:22 GMT.

The facts

Advisory idPYSEC-2026-3865
CVECVE-2026-71211
Package
mlflow PyPI: mlflow
PublishedSep 10, 2026
Source severityUnrated in the record we received
Our severitylow · 32 Advisory severity: unrated · Published 80 days ago · Confidence: GitHub Advisory Database / OSV · See the rules
FixNo fixed version was listed in the record we received
SourceOSV.dev

Excerpt from the source

Copied from the official record, trimmed. Read the full source before acting.

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 a

Open the full source →

What to do

Check whether mlflow is in your lockfiles or images, upgrade to a fixed version, and review exposed endpoints until patched. Log the assessment as evidence for your vulnerability-management control.

Other recent advisories for this package

  • GHSA-m65p-9j7q-6w33 · Oct 27, 2026 · MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source
  • GHSA-j7qq-vr8c-xvw3 · Oct 27, 2026 · MLflow CrewAI autologging records LLM provider API keys in logged trace spans
  • GHSA-26p8-2jq9-3vq9 · Oct 27, 2026 · MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
  • GHSA-2wqp-q3c6-ccj5 · Oct 23, 2026 · MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints
  • GHSA-wqmh-qccw-pqwf · Oct 20, 2026 · MLflow FileStore trace IDs allow path traversal and arbitrary file writes
  • GHSA-gqvg-gmmx-x4hm · Sep 1, 2026 · MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact

All advisories →

This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .