CVE-2023-6977: MLflow Local File Disclosure Vulnerability
MLflow before 2.9.2 lets a remote user read sensitive files on the server. The is_local_uri check in mlflow/utils/uri.py misjudged some paths, such as /proc/self/root. The fix is mlflow 2.9.2.
Published Dec 20, 2023 · Updated Jan 2, 2024 · Analysis Nov 2, 2026
What an attacker can do
MLflow uses is_local_uri in mlflow/utils/uri.py to decide whether a URI points at the local filesystem, which controls what the server may read or refuse. The function looked at the hostname before the scheme. A URI with no scheme, including paths like /proc/self/root and //proc/self/root, was not classed as local. The fix checks the scheme first and returns True immediately when there is none, and the commit adds those two paths as test cases.
/proc/self/root is a Linux link to the root of the running process's filesystem. A path through it can point at any file the server can read, so a check that missed it let local file paths through where they should have been blocked. The advisory gives no further detail on the exact request that reads the file.
The CVSS vector is network, no privileges, no interaction, with only confidentiality affected. An attacker who reaches the tracking server can read files the server user can read. On an ML host that includes configuration, credentials and model files.
Who is affected
mlflow on PyPI below 2.9.2. MLflow servers that untrusted users can reach are the exposure, and Linux hosts with /proc are the case the fix tests.
Check the installed version:
pip show mlflowmlflow
- 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.2"Restart the server. The fix commit makes is_local_uri return True for any URI with no scheme. The sources give no workaround. Until you upgrade, restrict access to the tracking server and run it as a user with a minimal set of readable files.
How to tell if you were hit
Search tracking-server logs for requests that carry paths such as /proc/self/root, //proc/self/root, or other absolute filesystem paths in URI or source parameters. Requests like those from clients you do not know point to probing. If you see them against an unpatched server, treat files readable by the server user as exposed and rotate the secrets they contain.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
This vulnerability enables malicious users to read sensitive files on the server.
Questions
- Which version fixes CVE-2023-6977?
mlflow 2.9.2. Versions below it are vulnerable.
- Can the attacker change files with this?
No. The CVSS vector scores only confidentiality as high, with no integrity or availability impact. Other issues fixed in 2.9.2, such as CVE-2023-6976, cover writes.
- Is a login required?
The vector sets privileges to none. MLflow servers have no login by default, so network access is the main condition.
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
