CVE-2024-3848: lfprojects mlflow Path Traversal: '\..\filename'
Vulnerability summary
CVE-2024-3848 is a high (CVSS 7.5) Path Traversal: '\..\filename' vulnerability in lfprojects mlflow. EPSS estimates a 43.28% chance of exploitation in the next 30 days, higher than 98.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 16-05-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
43.28%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 43.28% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-29Path Traversal: '\..\filename'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Lfprojects1 product
- mlflow< 2.12.1
Mlflow1 product
- mlflow/mlflow≥ unspecified, < 2.12.1
PyPI1 product
- mlflow≥ 2.9.2, < 2.12.1 | < f8d51e21523238280ebcfdb378612afd7844eca8 | < 2.12.1
3 vendors · 3 products
References
6 links- huntr.com/bounties/8d5aadaa-522f-4839-b41b-d7da362dd610WEBEVIDENCEREPORTExploitIssue TrackingThird Party Advisory
- github.com/mlflow/mlflowPACKAGE