CVE-2026-2611: MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution
MLflow 3.9.0 does not validate request origins on its /ajax-api endpoints used by the MLflow Assistant. A malicious web page can send cross-origin requests to an MLflow server on the victim's machine, switch the Assistant to full access, and run commands through the Claude Code sub-agent. Upgrade to mlflow 3.10.0.
Published May 19, 2026 · Updated Oct 5, 2026 · Analysis Oct 27, 2026
What an attacker can do
The MLflow Assistant is meant to be reachable only from loopback. In 3.9.0 the /ajax-api paths were not covered by the server's origin checks, and CORS was a wildcard, so a page in the victim's browser can reach the local server. The attacker's script first changes the Assistant configuration to enable full access. It then drives the Claude Code sub-agent, which runs arbitrary commands with the victim's local rights.
The attacker needs no account. The victim only has to visit a hostile page while MLflow 3.9.0 is running locally (CVSS 3.0: network, no privileges, user interaction required, scope changed, 9.6). The result is code execution on a developer workstation, with access to that user's files, cloud credentials and source code. This is the sort of case where an AI agent is the execution engine for a browser-borne attack: the attacker never touches the machine directly.
Who is affected
Only mlflow 3.9.0 is listed as vulnerable. Check the installed version:
pip show mlflowThe risk applies to machines where the MLflow server runs locally with the Assistant feature available and a browser is used on the same host.
mlflow
- Ecosystem
- PyPI
- Affected
- = 3.9.0
- Fixed in
- 3.10.0
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 3.10.0:
pip install --upgrade mlflow==3.10.0The fix commit changes mlflow/server/fastapi_security.py and security_utils.py. /ajax-api/ paths are now treated as API endpoints, and the wildcard CORS policy is replaced with the configured allowed origins plus localhost origins. Disallowed origins get a 403. To allow other origins, set MLFLOW_SERVER_CORS_ALLOWED_ORIGINS. No separate workaround is listed; stop the local server when you are not using it.
How to tell if you were hit
Check the MLflow server log and any proxy log for requests to /ajax-api/ paths with an Origin header that is not your own UI, particularly ones that change Assistant settings. On the workstation, look for unexpected child processes spawned by the claude process, and for edits to MLflow's Assistant configuration you did not make. Beam, if installed with agent hooks, records the shell commands an agent runs, and its rules can flag risky ones, which helps review what a sub-agent executed.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
In MLflow version 3.9.0, the MLflow Assistant feature introduced improper origin validation in its /ajax-api endpoints. This vulnerability allows a remote attacker to exploit cross-origin requests from a malicious webpage to interact with the MLflow Assistant running on a victim's local machine. By bypassing the loopback-only restriction, the attacker can modify the Assistant's configuration to enable full access, which in turn allows the execution of arbitrary commands via the Claude Code sub-agent. This issue is resolved in version 3.10.0.
Questions
- Is MLflow 3.9.0 affected by CVE-2026-2611?
Yes. 3.9.0 is the only version listed as vulnerable, and 3.10.0 fixes it.
- Does the attacker need access to my machine?
No. They need you to open a malicious web page while MLflow runs locally. The page's script reaches the loopback server through cross-origin requests that 3.9.0 fails to reject.
- Why is Claude Code involved?
After the attacker enables full access in the Assistant configuration, the Assistant's Claude Code sub-agent can run commands. That is how the browser requests become local command execution.
References
Read for this analysis:
- https://github.com/advisories/GHSA-67c5-x5mf-rppq
- https://github.com/mlflow/mlflow/commit/8f9c8a53af90842944101eb8b7d60706822c81bc
- https://nvd.nist.gov/vuln/detail/CVE-2026-2611
- https://huntr.com/bounties/8462addd-b464-4a84-b6a2-5529604e6e5a
- https://access.redhat.com/security/cve/CVE-2026-2611
- https://bugzilla.redhat.com/show_bug.cgi?id=2479797
- https://github.com/mlflow/mlflow
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-418.yaml
- https://pypi.org/project/mlflow
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
