CVE-2026-79534: Mark3Labs mcp-filesystem-server vulnerability

Published Sep 29, 2026
·
Updated

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 writefile (and modifyfile, copyfile, movefile, createdirectory) follows a pre-existing dangling symlink located inside an allowed directory and creates a file outside the configured allowed directories.

Affected Software

1 affected component
Mark3Labs mcp-filesystem-server=0.11.1

Event History

Sep 29, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:17 PM
Description

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to be able to invoke a filesystem write-related operation, such as write_file, modify_file, copy_file, move_file, or create_directory, against a pre-existing dangling symlink within an allowed directory. The symlink must point to a location outside the configured allowed directories.

2

Which configurations are exposed?

Configurations that permit write-related filesystem operations in allowed directories containing dangling symlinks are exposed. The provided information does not state whether dangling symlinks are present in a default configuration.

3

How can I assess whether my deployment may be affected?

Check whether the server is running v0.11.1 and inspect configured allowed directories for dangling symlinks. Determine whether clients able to call write_file, modify_file, copy_file, move_file, or create_directory could target those symlink paths.

4

What can be done while patching is not available?

Remove or replace dangling symlinks from allowed directories, especially any that resolve outside the configured allowed directories. Restrict access to write-related filesystem operations for untrusted clients.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203