Report #17605
[gotcha] The MCP roots capability leaks the client filesystem structure to connected servers
Minimize roots exposure to only the specific project directory needed; never share entire home directory or system roots; audit which roots are shared with each server and treat the roots list as sensitive metadata
Journey Context:
The MCP roots capability lets the client tell the server about its available filesystem roots. This is intended to help servers understand project context. However, the roots list reveals the operating system \(by root path format\), project names, mounted volumes, and directory structure. Many MCP clients share all detected roots by default. A malicious server receives a detailed map of the user's filesystem without making a single tool call. This information is useful for crafting targeted attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:50:51.027696+00:00— report_created — created