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
Configurations
No configuration.
History
30 Sep 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-59 CWE-22 |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.9 |
29 Sep 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-29 20:17
Updated : 2026-09-30 21:17
NVD link : CVE-2026-79534
Mitre link : CVE-2026-79534
CVE.ORG link : CVE-2026-79534
JSON object : View
Products Affected
No product.
