CVE-2026-2652
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.
Weakness
- CWE-305: Authentication Bypass by Primary Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-15 |
Timeline
- 2026-05-15Published by the CNA02:13 UTC
- 2026-05-15GitHub advisory published (GHSA-75cm-x2w3-8mgf)same day
- 2026-05-15CISA SSVC decision recordedsame day
Exploit and advisory records
Nuclei templates:
- CVE-2026-2652: MLflow < 3.10.0 - Authentication Bypass on FastAPI Routes
GitHub advisory GHSA-75cm-x2w3-8mgf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI mlflow | before 3.11.0 | 3.11.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| lfprojects mlflow | before 3.10.0fixed in 3.10.0 | 3.10.0 |
References
- https://github.com/mlflow/mlflow/commit/bb62e773263c14e9ba4d1a82fe72d0de2442c6aa
- https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-2652'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-2652'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-2652'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-2652'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).