Critical · 9.8 Critical vulnerabilities CVE-2026-116692
MLflow Scorer Deserialization Flaw Allows Remote Code Execution (CVE-2026-116692)
A critical flaw in MLflow's third-party scorer deserialization allows remote code execution via crafted module/class submissions to the scorer invoke endpoint. The issue is fixed in version 3.17.0.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
MLflow, an open source platform used for managing AI and machine learning workflows, is affected by a critical vulnerability that allows remote code execution through unsafe deserialization of third-party scorer modules. The flaw has been assigned CVE-2026-116692 and carries a CVSS score of 9.8. It is fixed in MLflow 3.17.0.
What happened
A vulnerability was identified in MLflow's scorer deserialization logic, located in mlflow/genai/scorers/base.py. The code accepts request-selected descendant classes of a defined allow-list (THIRD_PARTY_SCORER_ALLOWED_MODULES) instead of strictly validating against an exact allowed module. This permits an attacker to place a Python module beneath a writable allowed package using MLflow's artifact endpoints, then submit the module and class name through the /ajax-api/3.0/mlflow/scorer/invoke endpoint. When Scorer.model_validate_json() processes this input, it imports the module and constructs the specified class before any trace processing occurs, resulting in code execution.
Technical cause
The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection). The deserialization logic validates module names too loosely, accepting any descendant of an allowed module rather than requiring an exact match from the allow-list. Combined with the ability to write arbitrary modules into the allowed package location via artifact upload endpoints, this allows arbitrary Python code to execute when the scorer is invoked.
Why this matters
The vulnerability has a CVSS score of 9.8 (Critical), reflecting network exploitability, low attack complexity, no privileges required in some configurations, no user interaction, and full impact on confidentiality, integrity, and availability. In deployments where authentication is disabled, an attacker can exploit this without any credentials. In deployments using basic authentication, exploitation requires a principal with permissions to create an experiment and run, and to upload artifacts. In both scenarios, the allowed scorer package must be writable by the server process for exploitation to succeed.
Who is affected
Organizations running affected versions of MLflow with the scorer feature enabled are at risk, particularly where the server process has write access to the allowed scorer package directory. Both unauthenticated deployments and basic-auth deployments with artifact-upload-capable accounts are exposed, though the specific conditions required for exploitation (writable package location) must be present.
Affected versions
MLflow versions from 3.12.0rc0 up to (but not including) 3.17.0 are affected. The issue is fixed in version 3.17.0.
Fixes and mitigation
The vendor has released version 3.17.0, which fixes this issue. Users should also consider restricting write permissions on the allowed scorer package directory as an additional mitigating control, since exploitation depends on this location being writable by the server process, regardless of patch status.
Recommended action
Upgrade MLflow to version 3.17.0 as soon as possible. Until the upgrade is applied, review and restrict write access to directories containing allowed third-party scorer modules, and audit authentication configurations to limit who can create experiments, runs, and upload artifacts.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0371 (91 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
The vendor has released version 3.17.0, which fixes this issue. Users should also consider restricting write permissions on the allowed scorer package directory as an additional mitigating control, since exploitation depends on this location being writable by the server process, regardless of patch status.
How this was built
1 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
Revision history
- Published
- Generated
- Published
- Generated