PyPI: mlflow

CVE-2026-3198

Safety vulnerability ID: SFTY-20260602-18708

Affected versions of the MLflow package are vulnerable to Improper Access Control due to missing authorization checks. The `BEFORE_REQUEST_HANDLERS` dictionary in `mlflow/server/auth/__init__.py` lacks entries for `ListGatewaySecretInfos`, `ListGatewayEndpoints`, and `ListGatewayModelDefinitions`, resulting in insufficient enforcement of access controls. An attacker can exploit this vulnerability by authenticating as any user and enumerating all gateway secrets, endpoints, and model definitions, thereby gaining access to sensitive information such as API keys, endpoint configurations, and proprietary model definitions.

Created at: Jul 21, 2026Updated at: Jul 21, 2026

Overview

MLflow: Any authenticated user can enumerate all gateway secrets, endpoints, and model definitions

Advisory

mlflow – Improper Access Control

Affected Package

Affecting mlflow package, versions
< 3.11.0rc0

Also affects

---

How to Fix

Upgrade
mlflow
to
3.11.0rc0
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more