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
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3198[ADVISORY]
- https://github.com/mlflow/mlflow/commit/6989066af33fdcb03588fd71a1a67f8fc5ef12c9[WEB]
- https://github.com/mlflow/mlflow[PACKAGE]
- https://huntr.com/bounties/e57db731-97d3-40c3-a429-831ee959807f[WEB]
- https://pypi.org/project/mlflow[PACKAGE]
- https://github.com/advisories/GHSA-r5m9-wm49-959f[ADVISORY]