---
id: CVE-2026-2652
aliases:
  - GHSA-75cm-x2w3-8mgf
  - BIT-mlflow-2026-2652
  - PYSEC-2026-2221
title: 'MLflow: unauthenticated access to certain FastAPI routes'
summary: 'MLflow: unauthenticated access to certain FastAPI routes'
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L'
vendor: mlflow
product: mlflow
ecosystem: pip
affected:
  - mlflow < 3.11.0
patched:
  - mlflow 3.11.0
published: '2026-05-15'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-75cm-x2w3-8mgf'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2652'
  - url: >-
      https://github.com/mlflow/mlflow/commit/bb62e773263c14e9ba4d1a82fe72d0de2442c6aa
  - url: 'https://github.com/mlflow/mlflow'
  - url: 'https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.01409
epssPercentile: 0.71457
ingestedAt: '2026-07-13T18:57:54.178Z'
exploits:
  nuclei:
    - CVE-2026-2652
  checkedAt: '2026-09-25T08:20:53.718Z'
exploitAvailable: true
---

## Overview

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 packages

- `mlflow < 3.11.0`

## Remediation

Upgrade to a patched release:

- `mlflow 3.11.0`
