Authorization Bypass in SearchModelVersions in mlflow/mlflow
mlflow/mlflow
mlflow/mlflow
| Product | Affected | Fixed in |
|---|---|---|
| mlflow PyPI |
|
|
In mlflow/mlflow versions up to 3.9.0, the `SearchModelVersions` REST API endpoint and the `mlflowSearchModelVersions` GraphQL query lack proper per-model authorization checks when basic authentication is enabled. This allows any authenticated user to enumerate all model versions across all registered models, regardless of their permission level. The issue arises due to the absence of `SearchModelVersions` in the `BEFORE_REQUEST_VALIDATORS` and `AFTER_REQUEST_HANDLERS` for the REST API, and its omission from `GraphQLAuthorizationMiddleware.PROTECTED_FIELDS` for GraphQL. This vulnerability can expose sensitive information such as model names, version descriptions, source URIs, tags, and other metadata, potentially revealing proprietary or confidential details in multi-tenant environments. The issue is resolved in version 3.10.0.
From the CVE record · @huntr_ai
MLflow’s SearchModelVersions REST endpoint and mlflowSearchModelVersions GraphQL query lack per-model authorization checks when basic authentication is enabled. Any authenticated user can enumerate model versions across registered models regardless of permissions, exposing names, descriptions, source URIs, tags, and other metadata.
Teams running the PyPI mlflow package before 3.10.0 should check their deployments.