My Credentials, Please: Detecting Filesystem Capability Laundering in MCP Servers at Scale
Zeqian Huang, Mingyue Tang, Aonan Guan, Qiming Sun, Pengzhou He
Key points
From the paper's conclusion- We study the resulting vulnerability class, filesystem capability laundering, where attacker-steered arguments cause a tool to access sensitive host files outside its declared contract and deployment scope.
Abstract
The Model Context Protocol (MCP) standardizes how AI agents invoke external tools. MCP servers expose tools through a declared contract consisting of a name, description, and argument schema. In typical local deployments, client-side approval of a tool call grants the underlying server process broad host filesystem permissions rather than restricting it to the declared operation. We study the resulting vulnerability class, filesystem capability laundering, where attacker-steered arguments cause a tool to access sensitive host files outside its declared contract and deployment scope. We analyze this capability gap across three layers: server-category screening (L1), per-tool contract analysis (L2), and bypassable path-validation checks (L3). We design MCP-FSD to catalog MCP servers, infer least-privilege boundaries per tool, plant credential fixtures outside those boundaries, and evaluate exploitability and sandbox containment via paired dynamic execution. Across 21,097 MCP servers from nine registries, 787 of 4,806 triaged servers (16.4%) exhibit filesystem capabilities despite non-filesystem functional classifications. Dynamic three-case validation confirms 150 vulnerable instances under tested sandbox policies. Coordinated disclosure yielded 13 security advisories, including two CVEs in Anthropic's Git MCP Server.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Tracing MCP Security Vulnerabilities: Constructing and Analyzing an MCP Security Vulnerability DatasetarXiv · 2026
- MCP Tool Poisoning in Agentic AI Frameworks: A Cross-Framework Measurement StudyarXiv · 2026
- Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP ServersACM Transactions on Software Engineering and Methodology · 2026
- Argument-Aware Runtime Least-Privilege Enforcement Against Tool-Poisoning-Induced Actions in MCP-Based Agentic SystemsFuture Internet · 2026
- Beyond Tool Poisoning: Attack Surfaces of Malicious Remote MCP Servers Across LLM PlatformsElectronics · 2026
- GatewayBench: Unified Capability and Security Evaluation Platform for MCP GatewaysarXiv · 2026