Missing authorization on gateway secret creation in MLflow basic-auth with workspaces enabled
GHSA-4449-4cjp-ffp5 · published 2026-10-28
- Severity
- Medium
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 3.17.0
Prerequisites: a valid low-privilege account on a basic-auth MLflow tracking server, multi-tenant workspaces enabled (--enable-workspaces / MLFLOW_ENABLE_WORKSPACES=true), and the AI gateway available (enabled by default in affected releases). The account may hold no workspace-wide create grant, which is exactly the state that the server rejects for CreateExperiment and CreateRegisteredModel. Demonstrated capability: the user can create arbitrary gateway provider secrets and is auto-granted MANAGE on each new secret, then read, update, or delete those specific secrets. …
Upgrade mlflow to 3.17.0 or later.
Enforce the create authorization that the design already assumes. Add a before-request validator for CreateGatewaySecret (for example validate_can_create_gateway_secret gating on _user_can_create_in_workspace, matching CreateGatewayEndpoint and CreateGatewayModelDefinition), and register it in BEFORE_REQUEST_HANDLERS. Independently, harden _authorized_outside_before_request so that mere membership in the after-request grant table no longer marks a mutating route as authorized: separate the "grant ownership from response" table from the "this route has been authorized" determination, so a create route that lacks a before-request validator still falls through to the fail-closed net. …
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mlflow | PyPI | >= 3.10.0, < 3.17.0 | 3.17.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalMLflow allows unauthorized access to multipart upload endpoints when the `--serve-artifacts` mode is enabledmlflow
- CriticalMLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Executionmlflow
- Criticalmlflow: FastAPI job endpoints under `/ajax-api/3.0/jobs/*` are not protected by authentication or authorizationmlflow
The impact, patch and workaround text comes from the advisory, shortened (published by MLflow). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.