CVE-2023-6014: MLflow authentication requirement bypass can allow a user to arbitrarily create an account
MLflow before 2.8.0 lets anyone create an account on a server that uses its built-in basic authentication, because the user creation route skips authentication. No credentials are needed. MLflow 2.8.0 makes user creation an admin-only action.
Published Nov 16, 2023 · Updated Mar 11, 2024 · Analysis Nov 2, 2026
What an attacker can do
In the MLflow auth module, UNPROTECTED_ROUTES listed both CREATE_USER and SIGNUP. The route behind POST /api/2.0/mlflow/users/create was therefore reachable without any authentication. A maintainer wrote in the upstream issue that anyone can create a new user, whether the sender is authenticated or not.
The attacker needs only network access to the tracking server. They send a create-user request and get a working account. In the issue, a reporter showed that a basic-auth user expected to be read-only could make another account. The reporter also confirmed the new account is not an admin.
A new account is not admin, but it has the default permission level, which on a standard setup lets it read and write experiments and models. That is the confidentiality and integrity impact in the CVSS vector. The weakness is tagged CWE-598, though the issue describes a POST request, not a query string. Servers started without the basic-auth app are not covered by this account feature.
Who is affected
The pip package mlflow below 2.8.0, on servers running the built-in basic-auth app (mlflow.server.auth). Check your version:
pip show mlflowTo test a server, send an unauthenticated POST to /api/2.0/mlflow/users/create on a test copy and see whether it creates an account.
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.8.0
- Fixed in
- 2.8.0
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.8.0 or later.
pip install -U "mlflow>=2.8.0"The maintainers' stated plan, in the issue, was to remove user creation from the unprotected routes so that only an admin can create users. The sources list no workaround. Until you upgrade, keep the server off untrusted networks, and check the user list for accounts you did not create.
How to tell if you were hit
List the users known to the auth database and look for accounts you do not recognize, especially ones created around unexpected times. Search the server access logs for POST requests to /api/2.0/mlflow/users/create from unfamiliar addresses with no Authorization header. Check experiment and model activity attributed to unknown users.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
An attacker is able to arbitrarily create an account in MLflow bypassing any authentication requirement.
Credited to MarkLee131, yoshizawa-masatoshi.
Questions
- Which MLflow version fixes CVE-2023-6014?
MLflow 2.8.0. Versions below it are affected.
- Do new accounts get admin rights?
No. The upstream issue's reporter confirmed that admin was false. The new account gets the default permissions, which still allow access to your data on a typical setup.
- Does this affect servers without authentication enabled?
The flaw is in the basic-auth module's user creation route. A server without the auth app has no accounts to create, but it also has no access control at all.
- Is it exploited in the wild?
No source I read says so, and the entry has no CISA KEV data.
References
Read for this analysis:
- https://nvd.nist.gov/vuln/detail/CVE-2023-6014
- https://huntr.com/bounties/3e64df69-ddc2-463e-9809-d07c24dc1de4
- https://github.com/mlflow/mlflow/pull/9700
- https://github.com/mlflow/mlflow/commit/32de2154ef9f946160e5dc01a4d8a449dd0bd259
- https://github.com/mlflow/mlflow/releases/tag/v2.8.0
- https://github.com/advisories/GHSA-4qq5-mxxx-m6gg
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 entriesCVE-2026-116690
MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source
high7.5Oct 27, 2026CVE-2026-116691
MLflow CrewAI autologging records LLM provider API keys in logged trace spans
medium6.5Oct 27, 2026CVE-2026-116692
MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
critical9.8Oct 27, 2026CVE-2026-115886
MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints
medium6.5Oct 23, 2026CVE-2026-53995
MLflow FileStore trace IDs allow path traversal and arbitrary file writes
high8.2Oct 20, 2026GHSA-gqvg-gmmx-x4hm
MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact
high8.8Sep 1, 2026
