← Lab /Security & privacy

16% of MCP servers leak filesystem access despite non-file contracts

A significant fraction of MCP servers permit filesystem capability laundering beyond declared tool contracts

Security & privacy arXiv 15 Oct 2026 Measurement Prototype evidence Threat model

Published as “My Credentials, Please: Detecting Filesystem Capability Laundering in MCP Servers at Scale”

Why it matters

The work shows that many publicly available MCP servers can unintentionally expose host credentials, highlighting the need for per-tool filesystem contracts and enforced sandboxing in AI-agent tool integrations.

Summary

The authors discovered 150 MCP servers that leak host files through filesystem capability laundering, confirmed by a three-case dynamic validation that shows the exploit works without a sandbox and is blocked when the inferred least-privilege policy is applied. Across a catalog of 21,097 servers, 787 of 4,806 triaged servers (16.4%) carry a filesystem capability flag despite not being labeled as a FileSystem server, indicating a widespread mismatch. The evidence is strong: static LLM-assisted screening, per-tool boundary inference, and reproducible exploits were applied at ecosystem scale, though only servers that could be built and run were evaluated.

What they found 2

  1. 150 instances of filesystem capability laundering were confirmed via dynamic validation.

    “MCP-FSD confirms 150 instances, each adjudicated under the three-case dynamic validation (§3.3) against the inferred least-privilege boundary.”

  2. 16.4% of triaged servers have a filesystem capability flag without a FileSystem category label.

    “Across a catalog of 21,097 servers from nine registries, 787 of 4,806 triaged servers (16.4%) receive a filesystem capability flag without a FileSystem category label.”

Caveats 7

  • The pipeline only validates servers it can install and run, so many servers were never tested.
  • Dynamic validation may miss violations whose out-of-scope effect never appears in a response or that require a runtime precondition the harness does not reproduce.
  • The accuracy of the inferred per-tool boundaries is not measured, so some confirmed instances could be false positives or false negatives.
  • First, the pipeline only validates servers it can install and run.
  • Second, dynamic validation may miss a violation whose out-of-scope effect never appears in a response, or that requires a runtime precondition the harness does not reproduce.
  • Third, we do not measure the accuracy of the inferred boundaries themselves.
  • Fourth, the effect model includes writes, but the disclosure-oriented evaluation does not systematically measure unauthorized creation, modification, or deletion.

What’s new here 4

  • Applies large-scale, automated detection of filesystem capability laundering across thousands of real MCP servers.
  • Combines LLM-driven static analysis with inferred per-tool least-privilege boundaries and a three-case dynamic validation protocol.
  • Provides concrete coordinated disclosures and CVEs for previously unknown vulnerabilities in popular Git MCP servers.
  • Introduces a systematic pipeline (MCP-FSD) that links source-level findings to executable evidence and sandbox containment evaluation.

Threat model stated by the source

Adversaryan attacker who can influence tool arguments via untrusted agent input
Capabilitycause a local stdio MCP server to read arbitrary host files and return their contents in the MCP response
Assumesthe server runs with the user’s ambient filesystem permissions; the client’s tool-approval prompt does not enforce per-tool path restrictions; the OS sandbox is not applied unless explicitly configured; arbitrary server-code modification and OS-sandbox compromise are outside the model