CVE-2023-2780: mlflow Path Traversal vulnerability
MLflow before 2.3.0 has a path traversal that bypasses the earlier fix for CVE-2023-1177. The fix touches the model-version create endpoint, which accepted file:// sources, letting an unauthenticated network attacker point a model version at arbitrary files on the server. Upgrade to mlflow 2.3.0.
Published May 17, 2023 · Updated Sep 24, 2024 · Analysis Nov 2, 2026
What an attacker can do
The commit linked from the advisory changes _validate_source in mlflow/server/handlers.py, which checks the source of a model version created through /api/2.0/mlflow/model-versions/create. A local path had to sit inside the run's artifact directory, but a file:// URI could slip past that check. With such a source, the server later treats arbitrary files on its disk as model artifacts and serves them back.
The attacker needs network access to the MLflow tracking server. MLflow ships with no authentication by default, so many internal servers are open to anyone on the network. The result is reading arbitrary files the server process can read, such as credentials, cloud keys and config. The CVSS vector also rates integrity and availability as high.
This entry is the bypass of CVE-2023-1177, which is also in the database. Teams that patched for that one but stayed below 2.3.0 are still exposed.
Who is affected
pip package mlflow before 2.3.0. Check the version on the server:
pip show mlflowThe risk applies to any tracking server that is reachable by untrusted users, including internal networks, because stock MLflow has no login.
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.3.0
- Fixed in
- 2.3.0
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.3.0 or later:
pip install --upgrade "mlflow>=2.3.0"The fix rejects file:// URIs as model version sources by default, with an is_file_uri() helper in mlflow/utils/uri.py. It adds the environment variable MLFLOW_ALLOW_FILE_URI_AS_MODEL_VERSION_SOURCE, which defaults to False. Its own comment warns that enabling it can allow access to arbitrary files, so leave it unset. Also keep the server off untrusted networks.
How to tell if you were hit
Review tracking-server access logs for POST requests to /api/2.0/mlflow/model-versions/create whose source value starts with file:// or contains ../. Look for registered model versions whose source points outside your artifact root. Check for reads of unusual paths by the mlflow process.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
mlflow prior to 2.3.0 is vulnerable to path traversal due to a bypass of the fix for CVE-2023-1177.
Questions
- How does CVE-2023-2780 relate to CVE-2023-1177?
The advisory says it is a bypass of the fix for CVE-2023-1177. Both are path traversal in MLflow, so you need 2.3.0 or later to be covered.
- Do I need credentials to exploit it?
No credentials are named. The vector is network, no privileges, and stock MLflow servers have no authentication unless you add a proxy.
- Can I re-enable file:// sources after upgrading?
Only by setting MLFLOW_ALLOW_FILE_URI_AS_MODEL_VERSION_SOURCE. The code comment warns this can allow access to arbitrary files, so avoid it on shared servers.
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
