Skip to content
HighVulnerability

CVE-2025-67366: @sylphxltd/filesystem-mcp path traversal through symlinks in read_content

Identifier
CVE-2025-67366
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

@sylphxltd/filesystem-mcp v0.5.8, an MCP server for reading file contents, contains a critical path traversal vulnerability in its "read_content" tool (CVE-2025-67366). The resolvePath function validates paths before resolving symlinks, while fs.readFile resolves them automatically during access. An attacker can place symlinks inside the allowed directory that point to external files, reading files outside the intended operational scope.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.