MLflowPublished 15 May 2026NVD status: Analyzed

CVE-2026-2652

A vulnerability in mlflow/mlflow versions 3.9.0 and earlier allows unauthenticated access to certain FastAPI routes when the server is started with authentication enabled (--app-name basic-auth) and served via uvicorn…

ComponentMLflow
Severityhigh (CVSS 8.6)
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Published (NVD)2026-05-15
Last modified2026-11-11
Affected versions
< 3.10.0
from the CVE Program record written by the CNA that assigned the CVE
Fixed in3.10.0
WeaknessCWE-305
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the CVE record written by @huntr_ai, the CNA that assigned the CVE.

NVD description

A vulnerability in mlflow/mlflow versions 3.9.0 and earlier allows unauthenticated access to certain FastAPI routes when the server is started with authentication enabled (--app-name basic-auth) and served via uvicorn (ASGI). The FastAPI permission middleware only enforces authentication on /gateway/ routes, leaving other routes such as the Job API (/ajax-api/3.0/jobs/*) and the OpenTelemetry trace ingestion API (/v1/traces) unprotected. This allows unauthenticated remote attackers to submit jobs, read job results, cancel running jobs, and inject arbitrary trace data into experiments. The issue arises from an architectural mismatch between Flask and FastAPI authentication mechanisms, where the _find_fastapi_validator() function fails to handle non-/gateway/ paths, resulting in a complete authentication bypass. This vulnerability is fixed in version 3.10.0.

What to do

  • Upgrade MLflow to 3.10.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more