Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @modelcontextprotocol/server-filesystem
  4. ›
  5. CVE-2025-53110

CVE-2025-53110: @modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix

July 1, 2025 (updated July 2, 2025)

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files in cases where the prefix matches an allowed directory. Users are advised to upgrade to 2025.7.1 to resolve the issue.

Thank you to Elad Beber (Cymulate) for reporting these issues.

References

  • github.com/advisories/GHSA-hc55-p739-j48w
  • github.com/modelcontextprotocol/servers
  • github.com/modelcontextprotocol/servers/commit/cc99bdabdcad93a58877c5f3ab20e21d4394423d
  • github.com/modelcontextprotocol/servers/security/advisories/GHSA-hc55-p739-j48w
  • nvd.nist.gov/vuln/detail/CVE-2025-53110

Code Behaviors & Features

Detect and mitigate CVE-2025-53110 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 up to 0.6.2, all versions starting from 2025.1.14 before 2025.7.1

Fixed versions

  • 2025.7.1

Solution

Upgrade to version 2025.7.1 or above.

Weakness

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

Source file

npm/@modelcontextprotocol/server-filesystem/CVE-2025-53110.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 19 Aug 2025 12:19:10 +0000.