CVE-2024-2928: Local File Inclusion in mlflow
MLflow before 2.11.3 lets an unauthenticated remote attacker read arbitrary local files, such as `/etc/passwd`, by putting `../` sequences in the fragment part of a URI. It bypasses an earlier patch that checked only the query string. Upgrade to mlflow 2.11.3.
Published Jun 6, 2024 · Updated Apr 8, 2025 · Analysis Nov 1, 2026
What an attacker can do
MLflow tracking servers accept URIs such as an experiment's artifact_location. A previous fix rejected traversal sequences in the query string of those URIs, but the fragment (the part after #) was left unchecked. A URI such as file:///...#../../.. could therefore steer the server's path handling out of the artifact directory, and the attacker could then fetch files through the artifact download path.
The attacker needs network access to the tracking server, with no login, as the vector says. MLflow servers are often deployed without authentication on internal networks. What they read is whatever the server process can read: system files, cloud credentials in the home directory, configuration files with database passwords, and other teams' artifacts and model files. The flaw does not write files or run commands. Its EPSS percentile is high (0.975), so scanners are likely to probe for it.
Who is affected
Affected: mlflow < 2.11.3. The advisory reported version 2.9.2. Any tracking server that accepts requests from clients you do not fully trust is exposed. Check the version on the server host or image:
pip show mlflowmlflow
- Ecosystem
- PyPI
- Affected
- < 2.11.3
- Fixed in
- 2.11.3
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.11.3.
pip install --upgrade "mlflow>=2.11.3"The fix commit changes mlflow/server/handlers.py. _create_experiment() now raises an MlflowException with the text 'artifact_location' URL can't include fragment part. And _validate_source() only converts a run's artifact URI to a local path when is_local_uri is true. The sources give no workaround. Until you upgrade, put the server behind authentication and keep it off untrusted networks.
How to tell if you were hit
In tracking server logs, look for requests that create experiments or runs with artifact_location or source values containing # followed by ../, or encoded %23 and %2e%2e. After upgrading, the error text 'artifact_location' URL can't include fragment part marks refused attempts. Check existing experiments for artifact locations that include a fragment, and review who has fetched artifact files such as /etc/passwd or credentials.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
A Local File Inclusion (LFI) vulnerability was identified in mlflow/mlflow, specifically in version 2.9.2, which was fixed in version 2.11.3. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../'. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system, including sensitive files like '/etc/passwd'. The vulnerability is a bypass to a previous patch that only addressed similar manipulation within the URI's query string, highlighting the need for comprehensive validation of all parts of a URI to prevent LFI attacks.
Questions
- How is CVE-2024-2928 different from earlier MLflow path traversal bugs?
It is a bypass. The earlier patch checked the query string of the URI. This one puts the traversal into the fragment, which was not validated.
- Does it need credentials?
No. The CVSS vector has no privileges and no user interaction. MLflow's default setup has no authentication on the tracking server.
- Can it write files?
No. The advisory describes arbitrary file read only, which fits the confidentiality-only score.
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
