VDB
Sign up
MEDIUM6.5

PYSEC-2026-2659

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

Quick fix

PYSEC-2026-2659 — mlflow: upgrade to the fixed version with the command below.

pip install --upgrade 'mlflow>=3.11.0rc0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mlflow
Introduced in: 0Fixed in: 3.11.0rc0
Fixpip install --upgrade 'mlflow>=3.11.0rc0'

References