CVE-2025-67366

@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.
Configurations

No configuration.

History

07 Jan 2026, 18:15

Type Values Removed Values Added
CWE CWE-23
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

07 Jan 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-07 17:16

Updated : 2026-01-08 18:08


NVD link : CVE-2025-67366

Mitre link : CVE-2025-67366

CVE.ORG link : CVE-2025-67366


JSON object : View

Products Affected

No product.

CWE
CWE-23

Relative Path Traversal