CVE-2023-6976: MLflow Path Traversal Vulnerability
MLflow before 2.9.2 has a path traversal flaw in its artifact handling. An authenticated user can write files to arbitrary locations on the server's filesystem, with the rights of the server process. Upgrade to mlflow 2.9.2.
Published Dec 20, 2023 · Analysis Nov 18, 2026
What an attacker can do
MLflow's server has artifact endpoints that upload, download, list and delete files. They call validate_path_is_safe on the path the client supplies. According to the fix commit, the callers checked the raw path and then kept using the original value instead of the validated one. A path that passes through that gap can still point outside the artifact root.
The advisory text says this lets the attacker write arbitrary files into arbitrary locations on the remote filesystem, in the context of the server process. The CVSS vector needs a low-privilege account and no user interaction, so any user who can reach the tracking server's upload endpoints can try it. It is rated High (8.8) and classed as CWE-434.
What the attacker gets depends on what the server process can write to. Dropping files into startup scripts, cron directories, web roots or Python paths can turn a file write into code execution on the MLflow host, with access to experiment data, model artifacts and any cloud credentials the host holds. The sources do not publish a working exploit chain.
Who is affected
mlflow (pip) before 2.9.2, on servers that run the tracking server and expose the artifact endpoints, such as mlflow server. Check the version:
pip show mlflowCheck every host or container that runs the MLflow server, not only developer laptops.
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.9.2
- Fixed in
- 2.9.2
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.9.2.
pip install --upgrade mlflow==2.9.2The fix commit makes validate_path_is_safe return the validated path and updates the artifact handlers in mlflow/server/handlers.py, and list_artifacts in http_artifact_repo.py, to use that returned value. The sources list no workaround. Until you upgrade, keep the server off untrusted networks and limit who has accounts.
How to tell if you were hit
Look in the MLflow server's access logs for artifact upload or download requests with ../ sequences or encoded forms such as %2e%2e in the path. On the host, check for new or recently changed files outside the artifact root, especially in startup, cron or web directories, written by the user that runs MLflow. Review which accounts called the artifact upload endpoints.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
This vulnerability is capable of writing arbitrary files into arbitrary locations on the remote filesystem in the context of the server process.
Questions
- Which MLflow version fixes CVE-2023-6976?
mlflow 2.9.2 fixes it. All versions before 2.9.2 are affected.
- Does the attacker need to log in?
The CVSS vector requires low privileges, meaning a valid account on the server. It needs no user interaction and works over the network.
- What does the fix change?
Callers used to validate the path and then keep using the unvalidated value. The commit makes validate_path_is_safe return the checked path and has the artifact handlers use 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
