GitHub Advisoryadvisory · npm

GHSA-j893-m93w-jwjw fast-filesystem-mcp has a Path Traversal vulnerability

HIGH Published 2026-01-07 Modified 2026-01-08 Official page ↗
Aliases
CVE-2025-67364
Ecosystem
npm
Packages
fast-filesystem-mcp
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-24
Reviewed
2026-01-08

Affected packages

• npm fast-filesystem-mcp: <= 3.4.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2025-67364 fast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in its file operation tools including fast_read_file. vulnerability

Weakness · CWE (1)

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

References