PYSEC-2026-2659

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

At a glance

Published
Updated
CVE
CVE-2026-3198
Aliases
BIT-mlflow-2026-3198, GHSA-r5m9-wm49-959f
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Description

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.

Affected packages

PackageVersions
PyPI · mlflowintroduced 0, fixed 3.11.0rc0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database