CVE-2026-2652
HIGH 8.6CVSS 3.0MLflow: unauthenticated access to certain FastAPI routes
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.
- Published
- 15 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-305
- Also known as
- BIT-mlflow-2026-2652GHSA-75cm-x2w3-8mgfPYSEC-2026-2221
- Sources
- NVDJSONOSV GHSA-75cm-x2w3-8mgfJSONOSV PYSEC-2026-2221JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| OSV | PyPA | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mlflowcpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:* |
< 3.10.0 | 3.10.0 |
| OSV | PyPI | mlflow | < 3.11.0 | 3.11.0 |
| OSV | PyPI | mlflow | < 3.10.0 | 3.10.0 |
References
- https://github.com/mlflow/mlflow/commit/bb62e773263c14e9ba4d1a82fe72d0de2442c6aa · Patch, WEB, FIX
- https://huntr.com/bounties/5aeff5f0-49c7-4180-b5cb-c9a046f16756 · Exploit, Mitigation, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-2652 · ADVISORY
- https://github.com/mlflow/mlflow · PACKAGE
- https://github.com/advisories/GHSA-75cm-x2w3-8mgf · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 May 2026)