Skip to content
Access control Disclosed report Beginner CVE-2026-3198

MLflow: Any authenticated user can enumerate all gateway secrets, endpoints, and model definitions

MLflow's basic-auth mode did not check permissions on three Gateway list endpoints, so any logged-in user could list all gateway secrets, endpoints and model definitions. This exposed API keys, endpoint configurations and proprietary model definitions to users who should not see them.

mlflow/mlflow

Originally disclosed on huntr

MLflow 3.9.0 with basic-auth (--app-name basic-auth) fails to enforce authorization checks for multiple Gateway API 'list' endpoints. Specifically, the BEFORE_REQUEST_HANDLERS dictionary in mlflow/server/auth/__init__.py does not include entries for ListGatewaySecretInfos, ListGatewayEndpoints, and ListGatewayModelDefinitions. This allows any authenticated user, regardless of their assigned permissions, to enumerate all gateway secrets, endpoints, and model definitions. This vulnerability exposes sensitive information, such as API keys, endpoint configurations, and proprietary model definitions, to unauthorized users.

From the GitHub Advisory Database (GHSA-r5m9-wm49-959f, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The authorization handler map in the basic-auth module was missing entries for three Gateway list endpoints, so those endpoints had no permission check.

Impact

Any authenticated user could enumerate all gateway secrets, endpoints and model definitions, exposing API keys and proprietary information.

What the attacker needed

MLflow 3.9.0 with basic-auth enabled; a valid user account

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

MLflow is a tool for managing machine-learning projects, and it can require users to log in. Normally the server should check what each logged-in user is allowed to see, but for three listing features it forgot to do that check. As a result, any user with an account could see other people's secret keys and private model details.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from mlflow/mlflow

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.