PYSEC-2026-418
MLflow: Improper Origin Validation in MLflow Assistant /ajax-api Endpoints Enables Browser-Mediated Local Command Execution
Quick fix
PYSEC-2026-418 — mlflow: upgrade to the fixed version with the command below.
pip install --upgrade 'mlflow>=3.10.0'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2611[ADVISORY]
- https://github.com/mlflow/mlflow/commit/8f9c8a53af90842944101eb8b7d60706822c81bc[WEB]
- https://github.com/mlflow/mlflow[PACKAGE]
- https://huntr.com/bounties/8462addd-b464-4a84-b6a2-5529604e6e5a[WEB]
- https://pypi.org/project/mlflow[PACKAGE]
- https://github.com/advisories/GHSA-67c5-x5mf-rppq[ADVISORY]