CVE-2025-11201: MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability
The MLflow Tracking Server does not validate the user-supplied path used when creating a model version, which allows directory traversal and remote code execution as the service account. No login is needed, according to the ZDI advisory. Fixed in mlflow 2.22.4 and 3.0.0. The fix commits add an opt-in source check.
Published Oct 29, 2025 · Updated Dec 5, 2025 · Analysis Nov 1, 2026
What an attacker can do
The flaw sits in the handling of model file paths. When a model version is created, the server accepts a source that it later uses in file operations without validating it. A crafted path can climb out of the intended directory (CWE-22), and the ZDI advisory says this leads to code execution in the context of the service account.
The attacker needs network access to the Tracking Server. No authentication is required, and a default MLflow server has none. The CVSS 3.0 vector rates complexity high but confidentiality, integrity and availability all high. On a successful attack, the attacker runs code on the MLflow host. That exposes experiment data, model artifacts and any cloud or database credentials the service holds, and lets them tamper with registered models used downstream.
The EPSS score is high (about 0.26, 98th percentile), so exploitation is more likely than for most entries here. No source in the entry says it is exploited in the wild.
Who is affected
mlflow on PyPI before 2.22.4, and the 3.0.0 release candidates from 3.0.0rc0 up to but not including 3.0.0. The Tracking Server is the exposed component, especially when reachable from untrusted networks or without authentication.
pip show mlflowmlflow
- Ecosystem
- PyPI
- Affected
- >= 3.0.0rc0, < 3.0.0
- Fixed in
- 3.0.0
- Check
pip show mlflow
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.22.4
- Fixed in
- 2.22.4
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.22.4 or 3.0.0 (or later):
pip install --upgrade mlflowThe fix commits add a new environment variable, MLFLOW_CREATE_MODEL_VERSION_SOURCE_VALIDATION_REGEX. It defaults to None, meaning no validation. When set, _create_model_version() in mlflow/server/handlers.py runs re.search() on the source and rejects non-matching values with INVALID_PARAMETER_VALUE. The docs section "Model Version Source Validation" gives examples that restrict sources to mlflow-artifacts or to specific S3 buckets. Set the variable on your server after upgrading to get that check.
In all cases, do not expose the Tracking Server to untrusted networks without authentication.
How to tell if you were hit
Review Tracking Server and reverse-proxy logs for model version creation requests (model-versions/create) where source contains ../, encoded variants such as %2e%2e, absolute paths, or unexpected schemes. Check the host for files written outside the artifact root, new files in unusual directories, and child processes started by the MLflow service. Unexpected registered model versions with odd sources are a sign of probing.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MLflow Tracking Server. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of model file paths. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-26921.
Credited to mueslo.
Questions
- Does CVE-2025-11201 require authentication?
According to the ZDI description, no. A default MLflow Tracking Server has no authentication, so any client that can reach it can send the request.
- Which versions fix it?
mlflow 2.22.4 on the 2.x line and 3.0.0 on the 3.x line. The 3.0.0 release candidates before 3.0.0 are listed as vulnerable.
- Is the source validation on by default after upgrading?
According to the fix commits, the regex check defaults to off (None). Set MLFLOW_CREATE_MODEL_VERSION_SOURCE_VALIDATION_REGEX to enable it.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More MLflow vulnerabilities
All MLflow entriesCVE-2026-116690
MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source
high7.5Oct 27, 2026CVE-2026-116691
MLflow CrewAI autologging records LLM provider API keys in logged trace spans
medium6.5Oct 27, 2026CVE-2026-116692
MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
critical9.8Oct 27, 2026CVE-2026-115886
MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints
medium6.5Oct 23, 2026CVE-2026-53995
MLflow FileStore trace IDs allow path traversal and arbitrary file writes
high8.2Oct 20, 2026GHSA-gqvg-gmmx-x4hm
MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact
high8.8Sep 1, 2026
