CVE-2023-30172: mflow vulnerable to directory traversal
The /get-artifact API method of MLflow before 2.0.0 has a directory traversal: the path parameter lets a remote, unauthenticated attacker read arbitrary files on the server. Upgrade to mlflow 2.0.0rc0 or later. The reporter says 2.0.1 fixes it.
Published May 11, 2023 · Updated Nov 12, 2023 · Analysis Nov 2, 2026
What an attacker can do
The artifact download handler behind /get-artifact took a path parameter and did not keep it inside the artifact store. A request with traversal sequences could therefore return files from anywhere the MLflow process can read. A maintainer reproduced the report in issue 7166. The sources do not give a sample payload, and I have not listed one.
Stock MLflow tracking servers have no authentication, so anyone who can reach the port can try this. The CVSS vector rates confidentiality high and nothing else. What an attacker takes depends on the host: SSH keys, cloud credentials, database passwords in environment files, other users' experiment data and model files.
Because MLflow servers sit next to training data and model registries, a file read often leads to wider access to the ML platform.
Who is affected
pip package mlflow before 2.0.0 (the data lists the patched build as 2.0.0rc0). Check the server:
pip show mlflowThe affected piece is the /get-artifact endpoint, which a running tracking server exposes. Version note: a user in the issue asked whether 2.0.0 is fixed too, with no answer on the page, while the reporter wrote that 2.0.1 fixes it. Upgrading to the latest release avoids the question.
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.0.0rc0
- Fixed in
- 2.0.0rc0
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.0.0rc0 or later, preferably a current release:
pip install --upgrade mlflowThe maintainers closed issue 7166 with pull request 7170. The sources do not describe the code change in detail. If you cannot upgrade, keep the tracking server off untrusted networks, put an authenticating reverse proxy in front of it and block /get-artifact for unauthenticated callers.
How to tell if you were hit
Search tracking-server and reverse-proxy logs for requests to /get-artifact where the path parameter holds .., encoded dots such as %2e%2e, or an absolute path. Look for access to files outside the artifact root by the mlflow process. If you find hits, rotate credentials that were readable by that process.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
A directory traversal vulnerability in the /get-artifact API method of the mlflow platform prior to v2.0.0 allows attackers to read arbitrary files on the server via the path parameter.
Questions
- Which mlflow version fixes CVE-2023-30172?
The data lists 2.0.0rc0 as the patched build. The reporter in issue 7166 wrote that 2.0.1 fixes it. Use a current release to be safe.
- Does it need a login?
No. The vector requires no privileges, and a default MLflow server has no authentication.
- What can an attacker read?
Any file the MLflow server process can read, per the advisory. That can include credentials, keys and other users' artifacts.
References
Read for this analysis:
- https://github.com/mlflow/mlflow/issues/7166#issuecomment-1541543234
- https://github.com/mlflow/mlflow/pull/7170
- https://github.com/mlflow/mlflow/commit/ac4b697bb0bb8a331944dca63f4235b4bf602ab8
- https://github.com/mlflow/mlflow/commits/v2.0.0?after=00c3b0a350a28c25b16fbb7feddb8147a919ce18+69&branch=v2.0.0&qualified_name=refs%2Ftags%2Fv2.0.0
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2023-70.yaml
- https://github.com/advisories/GHSA-wc6j-5g83-xfm6
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
