Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-79534 EUVD-2026-89359GHSA-9c87-p3cg-99hj

mark3labs mcp-filesystem-server v0.11.1 is vulnerable to Directory Traversal due to an improper link resolution in validatePath (filesystem…

Published Sep 29, 2026 · Updated Sep 30, 2026 · Assigned by mitre

Description

mark3labs mcp-filesystem-server v0.11.1 is vulnerable to Directory Traversal due to an improper link resolution in validatePath (filesystemserver/handler/helper.go). When filepath.EvalSymlinks returns os.IsNotExist for a dangling symlink, the fallback validates only the parent directory and returns the unresolved path, so write_file (and modify_file, copy_file, move_file, create_directory) follows a pre-existing dangling symlink located inside an allowed directory and creates a file outside the configured allowed directories.

References