Authentication Bypass in MLflow FastAPI Routes
CVE-2026-2652 is an authentication bypass in MLflow 3.9.0 and earlier when served through uvicorn in ASGI mode with the basic-auth application enabled. Flask and FastAPI use separate authentication mechanisms, and the FastAPI helper _find_fastapi_validator() only selects validators for gateway routes. For other FastAPI routes, it returns no validator, which the permission middleware interprets as requiring no authentication. Consequently, remote unauthenticated attackers can access job-management and OpenTelemetry trace-ingestion APIs despite authentication being explicitly enabled. The vulnerability permits unauthorized job enumeration, submission, result access, cancellation, and trace injection. MLflow 3.10.0 includes the fix.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Attackers can disclose job parameters and results, submit unauthorized jobs, invoke scorers using server-held gateway API keys, and cancel running jobs to disrupt workloads. Arbitrary trace and span injection compromises experiment and observability data integrity and can undermine evaluations of model behavior. Exploitation has been observed in the wild. Arbitrary code execution is not established as a standalone consequence of this vulnerability; related job-execution risks involve additional configuration and a separate vulnerability.
If you can’t patch tonight, do this now.
Remove MLflow from direct public-internet exposure and restrict access through a VPN or an authenticating reverse proxy that covers all routes, including job-management and trace-ingestion APIs. Review MLFLOW_SERVER_ENABLE_JOB_EXECUTION and allowlisted job functions, disabling unnecessary job execution to reduce potential consequences. Apply least privilege to MLflow service-account access to storage and databases. Replace default basic-auth credentials as defense in depth; credential changes alone do not correct the missing authentication checks.
Patch, then assume compromise.
Upgrade MLflow to 3.11.0 or later where possible. Version 3.10.0 contains the upstream fix, while the associated GitHub advisory identifies 3.11.0 as the first confirmed-clean release. The patch expands _find_fastapi_validator() coverage beyond gateway routes, adds validators for job and trace-ingestion APIs, and includes tests requiring HTTP 401 responses for unauthenticated requests. After upgrading, verify that the affected APIs reject requests without credentials.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.