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

CVE-2026-2611: MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution

criticalCVSS 3.0 9.6GHSA-67c5-x5mf-rppq

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 mlflow

The 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.0

The 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

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