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 (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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en las versiones 3.9.0 y anteriores de mlflow/mlflow permite el acceso no autenticado a ciertas rutas de FastAPI cuando el servidor se inicia con la autenticación habilitada (’--app-name basic-auth’) y se sirve a través de uvicorn (ASGI). El middleware de permisos de FastAPI solo aplica la autenticación en las rutas ’/gateway/’, dejando desprotegidas otras rutas como la API de trabajos (’/ajax-api/3.0/jobs/*’) y la API de ingesta de trazas de OpenTelemetry (’/v1/traces’). Esto permite a atacantes remotos no autenticados enviar trabajos, leer resultados de trabajos, cancelar trabajos en ejecución e inyectar datos de traza arbitrarios en experimentos. El problema surge de una falta de coincidencia arquitectónica entre los mecanismos de autenticación de Flask y FastAPI, donde la función ’_find_fastapi_validator()’ no logra manejar rutas que no son ’/gateway/’, lo que resulta en una omisión de autenticación completa. Esta vulnerabilidad se corrige en la versión 3.10.0.

18 May 2026, 18:16

Type Values Removed Values Added
References () https://github.com/mlflow/mlflow/commit/bb62e773263c14e9ba4d1a82fe72d0de2442c6aa - () https://github.com/mlflow/mlflow/commit/bb62e773263c14e9ba4d1a82fe72d0de2442c6aa - Patch
References () https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756 - () https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756 - Exploit, Mitigation, Third Party Advisory
CPE cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
First Time Lfprojects mlflow
Lfprojects

15 May 2026, 14:16

Type Values Removed Values Added
References () https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756 - () https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756 -

15 May 2026, 03:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-15 03:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-2652

Mitre link : CVE-2026-2652

CVE.ORG link : CVE-2026-2652


JSON object : View

Products Affected

lfprojects

  • mlflow
CWE
CWE-305

Authentication Bypass by Primary Weakness