CVE-2026-7400
7.3geekgod382 · filesystem-mcp-server
A path traversal vulnerability in geekgod382 filesystem-mcp-server version 1.0.0 allows unauthenticated attackers to read, write, or delete files outside the configured allowed directories.
Executive summary
A critical path traversal vulnerability in the filesystem-mcp-server component allows unauthenticated attackers to perform arbitrary file operations, posing a severe risk to system integrity and confidentiality.
Vulnerability
The application utilizes an insecure string-prefix check within the is_path_allowed function in server.py, which fails to correctly validate file paths. An unauthenticated attacker can bypass the intended directory restrictions by providing sibling-prefix paths, granting unauthorized access to files outside the designated root.
Business impact
The ability for an unauthenticated attacker to read, create, modify, or delete arbitrary files on the host system constitutes a critical security risk. This flaw could lead to the exposure of sensitive configuration data, the injection of malicious code, or the destruction of critical system files, resulting in significant data compromise and service disruption. While the CVSS score is 7.3, the potential for arbitrary file manipulation elevates the practical risk to the environment.
Remediation
Immediate Action: Update the filesystem-mcp-server component to version 1.1.0 or later, which includes the necessary path validation logic to remediate the traversal vulnerability.
Proactive Monitoring: Review system and application access logs for anomalous file path patterns, specifically monitoring for requests that attempt to access directories outside of the defined root paths.
Compensating Controls: If an immediate update is not feasible, implement strict filesystem-level permissions to limit the service account access to only the absolute minimum required directories, effectively reducing the impact of a successful traversal.
Exploitation status
Public Exploit Available: Yes, a technical write-up detailing the vulnerability and providing a reproduction proof-of-concept is available via the project's GitHub issues tracker.
Analyst recommendation
Given the ease of exploitation and the potential for full unauthorized file system access, this vulnerability must be treated with high urgency. Administrators should prioritize the deployment of version 1.1.0 to ensure the path validation logic is correctly enforced. Failure to patch leaves the underlying system exposed to trivial directory traversal attacks.
Sources
Originally found and disclosed by LargeW (VulDB User), per the CVE Program record.
- VDB-360123 | geekgod382 filesystem-mcp-server read_file_tool/write_file_tool server.py is_path_allowed path traversal Vulnerability database entry
- VDB-360123 | CTI Indicators (IOB, IOC, TTP, IOA)
- Submit #803495 | geekgod382 filesystem-mcp-server 4e3e83852b1395de0a437bd4fd66376422f4ea0c Path Traversal Third-party advisory
- Exploit / PoC
- Patch commit
- Patch commit
- github.com