CVE-2025-67366 Details
Description
@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.
A critical path traversal vulnerability has been identified in version 0.5.8 of the @sylphxltd/filesystem-mcp package. This vulnerability allows attackers to bypass project root directory restrictions by exploiting symbolic links, enabling access to files outside the intended operational scope. The issue stems from improper handling of symlinks in the path validation process: the 'resolvePath' function checks path validity before resolving symlinks, while 'fs.readFile' automatically resolves them during file access. As a result, attackers can create or use symlinks within the allowed directory that point to external files, circumventing directory restrictions and gaining unauthorized access to those files.
Users can update to version 0.6.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sylphxltd/filesystem-mcp | [email protected] | Product |
| https://github.com/sylphxltd/filesystem-mcp/issues/134 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-23 | Relative Path Traversal | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| sylphx filesystem mcp | 0.5.8 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Sep 16, 2026 | Modified Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Jan 7, 2026 | CVE Modified | CISA-ADP |
| Jan 7, 2026 | New CVE Received | [email protected] |