7.1 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
7 packages
- pkgsRocm.mlflow-server
- mlflow-server
- python313Packages.mlflow-tracing
- pkgsRocm.python3Packages.sagemaker-mlflow
- python314Packages.sagemaker-mlflow
- python313Packages.sagemaker-mlflow
- python314Packages.mlflow-tracing
- @LeSuisse accepted
- @LeSuisse published on GitHub
mlflow: Unvalidated Gateway Secret api_base Enables SSRF via Gateway Proxy Endpoint
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.
Affected products
- =<3.14.0
Matching in nixpkgs
pkgs.python313Packages.mlflow
Open source platform for the machine learning lifecycle
pkgs.python314Packages.mlflow
Open source platform for the machine learning lifecycle
pkgs.pkgsRocm.python3Packages.mlflow
Open source platform for the machine learning lifecycle
pkgs.python313Packages.mlflow-skinny
Lightweight version of MLflow that is designed to minimize package size
Ignored packages (7)
pkgs.mlflow-server
Open source platform for the machine learning lifecycle
pkgs.pkgsRocm.mlflow-server
Open source platform for the machine learning lifecycle
pkgs.python313Packages.mlflow-tracing
Open-Source SDK for observability and monitoring GenAI applications
pkgs.python314Packages.mlflow-tracing
Open-Source SDK for observability and monitoring GenAI applications
pkgs.python313Packages.sagemaker-mlflow
MLFlow plugin for SageMaker
pkgs.python314Packages.sagemaker-mlflow
MLFlow plugin for SageMaker
Package maintainers
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>
-
@gquetel Grégor Quetel <gregor.quetel@telecom-paris.fr>