CVE-2026-2635: MLflow Use of Default Password Authentication Bypass Vulnerability
MLflow's `basic_auth.ini` ships with hard-coded default credentials, so a remote attacker can log in as the administrator without any prior access. MLflow versions before 3.8.0rc0 are listed as affected. Upgrade, and change the admin password on any instance that used basic auth.
Published Feb 21, 2026 · Updated Mar 17, 2026 · Analysis Oct 31, 2026
What an attacker can do
MLflow's basic authentication app reads its settings from basic_auth.ini. That file contains a default administrator credential that is the same on every install. Anyone who knows it can authenticate to a server that still uses it. The Zero Day Initiative advisory (ZDI-26-111) says this leads to arbitrary code execution in the context of the administrator, and no prior authentication is needed. The CVSS 3.0 vector scores it 9.8.
The sources do not explain how admin access becomes code execution. Admin access to MLflow does expose experiments, runs, model artifacts and the registry, so the data loss is real regardless.
Only deployments that turned on the basic-auth app are affected, and only those that never changed the shipped password. The attacker needs network access to the server. A tracking server exposed to a company network or the internet with the default password is open to anyone.
A separate pull request, #25751, removes the default password, as noted on the cross-reference in the fix PR for CVE-2026-2033.
Who is affected
MLflow below 3.8.0rc0 is listed as vulnerable. Check the version:
pip show mlflowThen check whether you run the basic auth app (mlflow server --app-name basic-auth) and whether the admin password in your basic_auth.ini was ever changed. An instance still on the shipped value is exposed even if you later upgrade.
mlflow
- Ecosystem
- PyPI
- Affected
- < 3.8.0rc0
- Fixed in
- 3.8.0rc0
- Check
pip show mlflow
How to fix it
Upgrade to MLflow 3.8.0rc0 or later.
pip install -U "mlflow>=3.8.0rc0"Upgrading does not rotate a password you already set or inherited. Change the administrator password on every instance that used the default, and review user accounts. Keep the server off untrusted networks.
How to tell if you were hit
Look in the auth database and server logs for logins by the default admin account from addresses you do not recognise, new users or permission changes, and unexpected experiment or model registry deletions. Check processes and files created by the MLflow service account. Test your own instance by trying the shipped default password.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
This vulnerability allows remote attackers to bypass authentication on affected installations of MLflow. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the basic_auth.ini file. The file contains hard-coded default credentials. An attacker can leverage this vulnerability to bypass authentication and execute arbitrary code in the context of the administrator.
Questions
- Do I need to be logged in to exploit CVE-2026-2635?
No. The default credentials in
basic_auth.iniare known, so the attacker authenticates as the administrator with no prior access.- Is MLflow affected if I never enabled basic auth?
The flaw is in the basic auth configuration file. The sources do not describe exposure for servers that do not use it.
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog.
References
Read for this analysis:
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
