Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mlflow
  4. ›
  5. CVE-2026-116692

CVE-2026-116692: MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules

October 27, 2026

MLflow 3.12.0 introduced registration and deserialization support for third-party scorers in OSS MLflow. During scorer deserialization, the server accepts a request-controlled Python module path beneath one of four allowed package prefixes, imports that module, obtains a request-controlled class, and instantiates it synchronously.

An HTTP caller can combine this behavior with MLflow’s built-in experiment, run, and artifact-upload endpoints:

  1. Create an experiment whose local artifact location points to a writable allowed scorer package.
  2. Create a run, causing MLflow to allocate <artifact_location>/<run_id>/artifacts/.
  3. Upload a Python module into that run artifact directory.
  4. Submit a serialized third-party scorer whose module path resolves to the uploaded file.
  5. Trigger server-side import and class construction through /ajax-api/3.0/mlflow/scorer/invoke.

On the default no-auth server using the official MLflow v3.14.0 image, this produces unauthenticated arbitrary Python code execution with the privileges of the MLflow server process. The reproduced image runs the process as uid 0 and permits writes to its installed Python package tree.

The attached proof of concept is intentionally harmless. The uploaded constructor performs one action only: it writes a random marker beside its own uploaded run artifact. The marker is then downloaded through MLflow’s run-artifact endpoint and checked for an exact match.

References

  • github.com/advisories/GHSA-26p8-2jq9-3vq9
  • github.com/mlflow/mlflow/commit/a732443e695c3c677680c54320efc394c81654ab
  • github.com/mlflow/mlflow/pull/25906
  • github.com/mlflow/mlflow/releases/tag/v3.17.0
  • github.com/mlflow/mlflow/security/advisories/GHSA-26p8-2jq9-3vq9
  • nvd.nist.gov/vuln/detail/CVE-2026-116692

Code Behaviors & Features

Detect and mitigate CVE-2026-116692 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.12.0-rc.0 before 3.17.0

Fixed versions

  • 3.17.0

Solution

Upgrade to version 3.17.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/mlflow/CVE-2026-116692.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.