CVE-2026-2033: MLflow Tracking Server Artifact Handler Directory Traversal Remote Code Execution Vulnerability
MLflow Tracking Server versions before 3.8.0rc0 do not properly validate artifact file paths, so an unauthenticated remote attacker can use directory traversal to reach code execution as the service account. Upgrade to 3.8.0rc0 or later.
Published Feb 21, 2026 · Updated Mar 17, 2026 · Analysis Oct 31, 2026
What an attacker can do
The flaw is in how the tracking server handles artifact paths. A user-supplied path is used in file operations without validation, which is classic path traversal (CWE-22). Zero Day Initiative lists it as ZDI-26-105 and says no authentication is needed.
The fix pull request, #19260, gives a view of the mechanism. In the local file store, a directory was treated as a run without checking its structure, so a malicious meta.yaml planted in an artifact folder could redirect file access outside the intended directories. The fix adds _is_valid_run_directory() to mlflow/store/tracking/file_store.py, which requires the metrics/, params/ and artifacts/ subdirectories, and a regression test named test_malicious_meta_yaml_in_artifact_folder_path_traversal. The PR page does not state the exploit steps to code execution, so treat that detail as unconfirmed.
The attack complexity is rated high. An attacker with network access to a tracking server can read or write files outside the artifact root, and the rating says that leads to code execution as the service account. That account often holds cloud storage keys and model registry access.
Who is affected
MLflow below 3.8.0rc0 is affected. Check the version:
pip show mlflowTracking servers reachable from untrusted networks are the main concern. The fix touches the local file store, so servers using a file-based backend are the clearest case; the sources do not say whether other backends are affected.
mlflow
- Ecosystem
- PyPI
- Affected
- < 3.8.0rc0
- Fixed in
- 3.8.0rc0
- Check
pip show mlflow
How to fix it
Upgrade to MLflow 3.8.0rc0 or later.
pip install -U "mlflow>=3.8.0rc0"The sources give no workaround. Until you upgrade, keep the tracking server off public networks and behind an authenticating proxy.
How to tell if you were hit
Check tracking server and reverse proxy logs for artifact requests containing .. sequences or encoded variants. In the artifact root, look for meta.yaml files inside artifact folders, and for files outside the artifact root that changed unexpectedly. Review processes launched by the service account.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
MLflow Tracking Server Artifact Handler 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 artifact 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.
Questions
- Does this need authentication?
No. The Zero Day Initiative advisory says authentication is not required, though the CVSS vector rates attack complexity as high.
- Which version fixes CVE-2026-2033?
MLflow 3.8.0rc0. Everything below it is listed as vulnerable. That is a release candidate; a later release in the 3.8 line is the practical target.
- Is it exploited in the wild?
No source reports exploitation, and it is not in CISA's KEV catalog.
References
Read for this analysis:
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
