Skip to content
OpenAdvisories
High · 8.6 Scanner template CVE-2026-2652 BIT-mlflow-2026-2652EUVD-2026-30499GHSA-75cm-x2w3-8mgfPYSEC-2026-2221

Authentication Bypass in mlflow/mlflow

Published May 15, 2026 · Updated May 15, 2026 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
mlflow mlflow/mlflow unspecified – < 3.10.0 3.10.0

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mlflow < 3.11.0 3.11.0 GHSA-75cm-x2w3-8mgf
PyPI mlflow < 3.10.0 3.10.0 PYSEC-2026-2221

References