Skip to content

CVE-2025-67364 fast-filesystem-mcp has a Path Traversal vulnerability

HighCVSS 7.5 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

fast-filesystem-mcp version 3.4.0 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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm fast-filesystem-mcp(npm) <= 3.4.0 after 3.4.0 Fixed
efforthye fast-filesystem-mcp = 3.4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm fast-filesystem-mcp(npm) <= 3.4.0 No fix listed
efforthye fast-filesystem-mcp = 3.4.0 No fix listed

References