NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · MLflow

CVE-2026-3198: MLflow: Any authenticated user can enumerate all gateway secrets, endpoints, and model definitions

mediumCVSS 3.0 6.5GHSA-r5m9-wm49-959f

MLflow 3.9.0 with basic-auth enabled does not check permissions on three Gateway list endpoints. Any logged-in user can list every gateway secret, endpoint and model definition, whatever permissions they hold. The package data marks versions before 3.11.0rc0 as vulnerable and 3.11.0rc0 as the patched version.

Published Jun 2, 2026 · Updated Jul 9, 2026 · Analysis Oct 26, 2026

What an attacker can do

With --app-name basic-auth, MLflow checks each request against the BEFORE_REQUEST_HANDLERS dictionary in mlflow/server/auth/__init__.py. The handlers for ListGatewaySecretInfos, ListGatewayEndpoints and ListGatewayModelDefinitions are missing from it, so those requests skip the permission check (CWE-284).

The attacker needs a valid account, even one with no permissions on anything. They call the three list endpoints and get the full inventory: gateway secret records, how each endpoint is configured, and the model definitions behind them.

The advisory says this exposes sensitive data such as API keys, endpoint configurations and proprietary model definitions. The CVSS vector rates confidentiality as high and integrity and availability as none, so the flaw reads data and does not change it. On a shared MLflow server, a low-trust account such as a contractor or a student can see what the AI Gateway connects to. What it learns can feed further attacks on the upstream providers. Deployments without basic-auth have no per-user check to bypass.

Who is affected

The mlflow package on PyPI. The description names 3.9.0 running with basic-auth; the package data marks everything before 3.11.0rc0 as vulnerable. Servers started without --app-name basic-auth do not use this permission layer. Check your version:

pip show mlflow

Check how the server is started to see whether basic-auth is on. Look for --app-name basic-auth in the service command or unit file.

mlflow

Ecosystem
PyPI
Affected
< 3.11.0rc0
Fixed in
3.11.0rc0
Check
pip show mlflow

How to fix it

Upgrade to mlflow 3.11.0rc0 or later. The package data names 3.11.0rc0 as the patched version:

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

The sources give no workaround. Until you upgrade, limit who has an account on the server, and rotate any gateway secrets that an untrusted account could have listed. Because the endpoints were open to every authenticated user, treat the listed secrets as seen by all of them.

How to tell if you were hit

The sources give no log signatures. Check the server's access logs for calls to the Gateway list endpoints (secrets, endpoints, model definitions) from accounts that have no reason to use the Gateway. Compare the users who called them with the users who should have access. If an untrusted account called them, rotate the API keys held in your gateway secrets.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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.

Questions

Does CVE-2026-3198 affect MLflow without basic-auth?

The advisory describes the flaw in the basic-auth permission layer, where the three list handlers are missing. Without basic-auth there is no per-user check for it to bypass.

What can a low-privileged user see?

All gateway secrets, endpoints and model definitions, regardless of their assigned permissions. The advisory says this can include API keys and proprietary model definitions.

Which version fixes it?

3.11.0rc0 is the patched version in the package data. All earlier versions are listed as vulnerable.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More MLflow vulnerabilities

All MLflow entries