CVE Catalog

CVE-2026-116692

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

In MLflow from 3.12.0rc0 until 3.17.0, third-party scorer deserialization in mlflow/genai/scorers/base.py accepts request-selected descendants of allowed modules rather than requiring an exact allowed module. An attacker can place a Python module under a writable allowed package and invoke it via /ajax-api/3.0/mlflow/scorer/invoke, leading to code execution. Version 3.17.0 fixes the issue.

Risk Assessment

In authentication-disabled deployments anyone can execute code remotely; with basic-auth, a principal able to create experiments and upload artifacts is required. The impact can be full compromise of the MLflow server.

Recommendation

Upgrade MLflow to version 3.17.0 or later. Restrict access to artifact endpoints and ensure the allowed scorer package directory is not writable by the server process.

Other vulnerabilities in MLflow

See all
Original NVD description (English source)

MLflow is an open source AI engineering platform for agents, large language models, and machine learning models. From 3.12.0rc0 until 3.17.0, third-party scorer deserialization in mlflow/genai/scorers/base.py accepts request-selected descendants of THIRD_PARTY_SCORER_ALLOWED_MODULES rather than requiring an exact allowed module. A caller can use MLflow artifact endpoints to place a Python module beneath a writable allowed package and submit its module and class through /ajax-api/3.0/mlflow/scorer/invoke. Scorer.model_validate_json() imports the module and constructs the class before trace processing. Authentication-disabled deployments permit this code execution without credentials, while basic-auth deployments require a principal capable of creating an experiment and run and uploading artifacts. In either configuration, the allowed scorer package must be writable by the server process. This issue is fixed in version 3.17.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS