MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution
The MLflow Assistant's /ajax-api endpoints did not properly validate request origins, so a malicious webpage could send cross-origin requests to an Assistant running on a victim's local machine. By bypassing the loopback-only restriction, an attacker could change the Assistant's configuration to enable full access and then run arbitrary commands through the Claude Code sub-agent.
mlflow/mlflow
Originally disclosed on huntr
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.
From the GitHub Advisory Database (GHSA-67c5-x5mf-rppq, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
A remote attacker could use a malicious webpage to interact with a victim's local MLflow Assistant, enable full access, and execute arbitrary commands via the Claude Code sub-agent.
What the attacker needed
Victim runs MLflow 3.9.0 locally; victim visits a malicious webpage
The fix
The issue was fixed in version 3.10.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you visit a website, your browser can be tricked into sending requests to programs running on your own computer, such as a local tool. This report says MLflow's Assistant accepted such requests without checking where they came from, so a bad webpage could change its settings and then make it run commands. The problem was fixed in a later version.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.