MCP 'Read-Only' Tools Are Not a Security Boundary: Four November Vulnerabilities Exposed
Four November 2026 vulnerabilities reveal that Model Context Protocol (MCP) 'read-only' tools, long assumed safe due to lack of state change, can lead to arbitr
In November 2026, four security vulnerabilities were disclosed demonstrating that Model Context Protocol (MCP) tools classified as "read-only"—and thus routinely treated as auto-approval candidates because they perform no state changes—can actually facilitate arbitrary code execution and credential theft. As AI agents increasingly integrate with external systems, these findings highlight a critical reality: a "read-only" label does not constitute a robust security boundary.

Image source: https://cyberstrategyinstitute.com/read-only-mcp-not-a-security-boundary
Image Credit: Cyber Strategy Institute
According to disclosures released by cybersecurity research organizations and project maintenance teams, attackers did not need to break cryptography or jailbreak frontier models. Instead, each vulnerability exploited layer mismatches between what the tool label promised and where validation checks actually sat, allowing commands to execute with server privileges.
Four Notable November MCP Vulnerabilities
The newly disclosed flaws span reference implementations, popular editor clients, and specialized Retrieval-Augmented Generation (RAG) servers.
mcp-server-git(GHSA-6hqx-gqrx-c5r2, published November 11): The reference MCP Git server’sgit_statusandgit_diffcommands honored repository-local configurations. If an untrusted repository contained malicious settings, a read-only call could execute arbitrary commands under the server's privileges. This issue was addressed in version 2.4.0.- Microsoft Visual Studio Code (CVE-2026-120779 and three others, published November 10): In VS Code 1.145.2 and earlier, the MCP client rendered server-supplied elicitation text as clickable command links, while crafted install links hid command-backed inputs. Additionally, the legacy Server-Sent Events (SSE) transport accepted unvalidated endpoints, exposing credentials. These issues were patched in version 1.145.3.
- Dagu MCP (
CVE-2026-102943, published November 5): Dagu MCP called its underlying DAG specification read API directly, bypassing HTTP middleware path-traversal protections added for earlier issues. This allowed an attacker with a viewer-role API key to read YAML files outside configured directories. The flaw was fixed in version 2.11.0. - Code Graph RAG MCP (
GHSA-vvr2-h2jp-838m, listed November 9): Theread_filetool in this code graph RAG server omitted containment validation on its paginated execution branch when offset or limit parameters were supplied, allowing direct reads of sensitive files such as/etc/passwd. The fix, version 0.0.345, was released months prior on July 14, 2026.
Deconstructing the "Read-Only" Trust Bias
The core lesson from these disclosures is that security architects must never rely on tool names or explicit UI labels when designing trust tiers. Experts attribute these repeating failures to four structural patterns.
First is Configuration as Execution, where repository metadata, hooks, and filters act as executable inputs despite operating under a read-only verb. Second is Transport Differential, where security checks placed in HTTP middleware leave MCP, SDK, or in-process callers completely unprotected.
Third is Optional-Branch Drift, where testing only the default tool path misses secondary branches triggered by pagination, streaming, or error handling. Finally, UI-Mediated Deception occurs when approval prompts hide command-bearing variables or render untrusted server text as trusted product UI, invalidating genuine human consent.
Practical Recommendations and Engineering Standards
Security professionals urge the industry to overhaul how MCP and agentic systems approach tool security.
Above all, organizations must retire "read-only" as a trust tier. A tool is safe only when subprocesses, hooks, external helpers, and network redirects are proven impossible under adversarial configuration. Furthermore, invariants such as file system access controls and identity checks must be enforced at a shared resource resolver beneath transport middleware, ensuring that REST, MCP, and local SDK paths all share a single, unified boundary.
Before shipping, engineering teams should conduct cross-transport differential tests across default, paginated, and malicious inputs. Treating any untested branch as an unprotected branch is essential for maintaining robust agentic security.
Sources
- Model Context Protocol servers, Release v2.4.0: GitHub Releases
- Microsoft Visual Studio Code 1.145.3 Security Advisories: VS Code Security Updates
- CVE-2026-102943 (Dagu MCP): OSV Vulnerability Database
- GHSA-vvr2-h2jp-838m (Code Graph RAG MCP): GitHub Security Advisory
- Cyber Strategy Institute Research: Read-Only Is a UI Label, Not a Security Boundary in MCP