Skip to main content

Path Traversal: '../filedir'

CVE-2025-67364

Severity High
Score 7.5/10

Summary

fast-filesystem-mcp contains a critical path traversal vulnerability in its file operation tools including "fast_read_file". This vulnerability arises from improper path validation that fails to resolve symbolic links to their actual physical paths. The "safePath" and "isPathAllowed" functions use "path.resolve()" which does not handle symlinks, allowing attackers to bypass directory access restrictions by creating symlinks within allowed directories that point to restricted system paths. When these symlinks are accessed through valid path references, the validation checks are circumvented, enabling access to unauthorized files.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-24 - Path Traversal: '../filedir'

The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

Advisory Timeline

  • Published