Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mlflow
  4. ›
  5. CVE-2024-8859

CVE-2024-8859: MLflow has a Local File Read/Path Traversal in dbfs

March 20, 2025 (updated March 21, 2025)

A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. When users configure and use the dbfs service, concatenating the URL directly into the file protocol results in an arbitrary file read vulnerability. This issue occurs because only the path part of the URL is checked, while parts such as query and parameters are not handled. The vulnerability is triggered if the user has configured the dbfs service, and during usage, the service is mounted to a local directory.

References

  • github.com/advisories/GHSA-4rqf-8pfm-p36r
  • github.com/mlflow/mlflow
  • github.com/mlflow/mlflow/commit/7791b8cdd595f21b5f179c7b17e4b5eb5cbbe654
  • huntr.com/bounties/2259b88b-a0c6-4c7c-b434-6aacf6056dcb
  • nvd.nist.gov/vuln/detail/CVE-2024-8859

Code Behaviors & Features

Detect and mitigate CVE-2024-8859 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.17.0rc0

Fixed versions

  • 2.17.0rc0

Solution

Upgrade to version 2.17.0rc0 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-29: Path Traversal: '..filename'

Source file

pypi/mlflow/CVE-2024-8859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.