CVE Catalog

CVE-2025-67366

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.61%

48th percentile - higher than 48% of all known CVEs

Summary

The MCP server filesystem-mcp version 0.5.8 contains a critical path traversal vulnerability in the read_content tool. The vulnerability arises from improper symlink handling in path validation, allowing attackers to bypass directory restrictions and access files outside the intended scope.

Risk Assessment

An attacker can gain unauthorized access to sensitive files, potentially leading to data leakage or further compromise.

Recommendation

Update filesystem-mcp to a version that properly handles symlinks and review permission configurations.

Related vulnerabilities

Original NVD description (English source)

@sylphxltd/filesystem-mcp v0.5.8 is an MCP server that provides file content reading functionality. Version 0.5.8 of filesystem-mcp contains a critical path traversal vulnerability in its "read_content" tool. This vulnerability arises from improper symlink handling in the path validation mechanism: the resolvePath function checks path validity before resolving symlinks, while fs.readFile resolves symlinks automatically during file access. This allows attackers to bypass directory restrictions by leveraging symlinks within the allowed directory that point to external files, enabling unauthorized access to files outside the intended operational scope.

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