What’s Vulnerable › Vulnerabilities
CVE-2024-3848: Path Traversal Bypass in mlflow/mlflow
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 43.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-05-16 · updated 2026-06-17
- Weakness: CWE-29
Description
A path traversal vulnerability exists in mlflow/mlflow version 2.11.0, identified as a bypass for the previously addressed CVE-2023-6909. The vulnerability arises from the application's handling of artifact URLs, where a '#' character can be used to insert a path into the fragment, effectively skipping validation. This allows an attacker to construct a URL that, when processed, ignores the protocol scheme and uses the provided path for filesystem access. As a result, an attacker can read arbitrary files, including sensitive information such as SSH and cloud keys, by exploiting the way the application converts the URL into a filesystem path. The issue stems from insufficient validation of the fragment portion of the URL, leading to arbitrary file read through path traversal.
Affected products
- mlflow/mlflow: before 2.12.1 — fixed in 2.12.1
How to fix
Upgrade to a fixed version: mlflow/mlflow 2.12.1. Check the vendor advisory for mitigations.
References
- https://github.com/mlflow/mlflow/commit/f8d51e21523238280ebcfdb378612afd7844eca8
- https://huntr.com/bounties/8d5aadaa-522f-4839-b41b-d7da362dd610
- https://github.com/mlflow/mlflow/commit/f8d51e21523238280ebcfdb378612afd7844eca8
- https://huntr.com/bounties/8d5aadaa-522f-4839-b41b-d7da362dd610
Get alerted when CVE-2024-3848 or the next vulnerability affects your stack