CVE Catalog

CVE-2025-67364

High
Published: Translated: NVD NIST

Summary

fast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in file operation tools including fast_read_file. The vulnerability arises from improper path validation that fails to resolve symbolic links, allowing attackers to bypass directory access restrictions.

Risk Assessment

An attacker can access system files outside allowed directories, potentially leading to disclosure of sensitive information or privilege escalation.

Recommendation

Update fast-filesystem-mcp to a patched version and ensure path validation resolves symlinks.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS