Recent

↑ ↓ to move ↵ to open esc to close

MCP Server CVE Attack Surface: 174 NVD Advisories & Agent Sandboxing

Empirical NVD CVE v2 audit of 174 Model Context Protocol vulnerabilities, HTTP/SSE localhost origin-validation bypasses, CWE-918 SSRF chains, and zero-trust MCP containment

Key Findings & Executive Synthesis
Empirical aggregation of 174 Model Context Protocol vulnerabilities in the NIST National Vulnerability Database on November 24, 2026 shows disclosures jumped over sixfold from 23 in 2025 to 151 in 2026, with 62.6% rated High or Critical. Server-side request forgery (CWE-918), path traversal (CWE-22), and missing authentication (CWE-306) dominate remote host compromise.

Developers routinely treat Model Context Protocol (MCP) security as an abstract prompt-injection problem inside the language model. Empirical vulnerability records tell a much harsher engineering story: the dominant risks in real-world AI coding and desktop assistant stacks are deterministic network, filesystem, and authorization flaws inside the MCP server and SDK transport layer itself.

Start Here · 30-Second Operational Cutoffs
Ban Unauthenticated HTTP / SSE

Prefer local stdio transport over HTTP/SSE. If HTTP transport is mandatory, require OAuth/Bearer tokens and strict Origin + Host allowlists.

Isolate Host Filesystems

Run every third-party MCP server inside rootless Bubblewrap or Podman --cap-drop=ALL mounting only the active repo directory.

Sanitize Untrusted Tool Schemas

Inspect external MCP server tool descriptions and prompts for hidden Plane-14 Unicode smuggling using our offline Unicode Sanitizer.

1. Original NVD Aggregation: 174 Model Context Protocol CVEs (2025 vs. 2026)

To establish an empirical baseline beyond isolated proof-of-concept blog posts, DT.gl queried the NIST National Vulnerability Database (NVD) CVE API v2 on 2026-11-24 across all records matching Model Context Protocol. The live query returned 174 distinct CVE advisories, exposing a 6.57x year-over-year acceleration as AI hosts migrated from local stdio pipes toward network-listening HTTP/SSE connectors and multi-tenant enterprise wrappers.

In 2025, NVD indexed 23 MCP vulnerabilities. Between January 1 and November 24, 2026, that count surged to 151 advisories. Across the full 174-CVE dataset, severity skews heavily toward exploitable host and credential compromise rather than minor information leaks: 26 CVEs (14.9%) are rated CRITICAL, 83 (47.7%) are HIGH, 59 (33.9%) are MEDIUM, and 6 (3.4%) are LOW. Combined, 109 of 174 vulnerabilities (62.6%) carry a CVSS severity of High or Critical.

NVD Model Context Protocol CVE Taxonomy and Trust Boundary FailuresThree-stage technical breakdown of 174 NVD Model Context Protocol vulnerabilities across transport authentication bypass, host execution and path traversal, and SSRF or token exfiltration.NVD MCP CVE TAXONOMY: 174 ADVISORIES (23 IN 2025 -> 151 IN 2026)62.6% HIGH / CRITICAL1. Transport & Auth BypassHTTP/SSE localhost & remote listenersCWE-306 Missing Auth (15)Unauthenticated /sse & /mcpCWE-346 Origin Bypass (13)DNS rebinding via browser tabCWE-863 / CWE-1188 (16)SDK default 0.0.0.0 / no CORSCVSS 9.6 - 10.0 Impact:CVE-2026-77244, CVE-2026-59971Remote tool invocation without creds2. Host Escape & InjectionUnsanitized tool parameter parsingCWE-22 Path Traversal (24)Read/write outside repo rootCWE-78 / CWE-77 Exec (15)Shell metacharacters in argsCWE-79 / CWE-94 Client (10)Stored XSS in Electron AI hostsHost UID Exposure:~/.ssh, ~/.aws, .env, wallet seedsCVE-2025-68143, CVE-2026-405763. SSRF & Silent ExfiltrationNetwork pivoting & secret leakageCWE-918 Top Weakness (27)169.254.169.254 cloud metadataCWE-200 Secret Leak (12)Link unfurling & token echoCWE-770 / CWE-400 DoS (17)Unbounded JSON / file fetchHardened Cutoff:stdio + bwrap --unshare-netEliminates CWE-306, CWE-346, CWE-918

2. Top Weaknesses Ranked Across 174 NVD Advisories

Examining the exact MITRE CWE distribution across all 174 NVD entries reveals why generic API firewalls fail to protect agentic workflows. Unlike traditional web applications where SQL injection or broken session cookies dominate, MCP servers bridge untrusted LLM tool arguments directly into local operating-system primitives and internal VPC networks.

RankMITRE CWEWeakness ClassNVD CountPrimary Exploitation Mechanism in MCP Stacks
01CWE-918Server-Side Request Forgery (SSRF)27Tool URL arguments fetch internal LAN services, cloud IAM metadata endpoints (169.254.169.254), or intranet admin panels.
02CWE-22Path Traversal24../ sequences or symlink escapes read/overwrite ~/.ssh, ~/.aws, or host config files outside workspace boundaries.
03CWE-306Missing Authentication for Critical Function15HTTP/SSE and Streamable HTTP transports expose SQL, database, or admin tool endpoints with zero bearer token enforcement.
04CWE-346Origin Validation Error13Localhost HTTP listeners ignore browser Origin headers, enabling cross-site or DNS-rebinding invocation from any open tab.
05CWE-200Exposure of Sensitive Information12Workspace secrets leaked via automated Slack link unfurling, verbose error traces, or unredacted environment-variable dumps.
06CWE-863Incorrect Authorization10Multi-tenant or governed tool dispatch skips caller-to-resource authorization checks across vault or repository scopes.
07CWE-770Allocation Without Limits10Oversized payloads, recursive directory globs, or unbounded SSE streams exhaust host memory and crash developer workstations.
08CWE-78 / 77OS & Command Injection15Unsanitized CLI flags or file paths concatenated into child_process.exec or Python shell=True subprocess calls.
09CWE-1188Insecure Default Initialization6Official TypeScript and Python MCP SDK defaults disabled DNS rebinding protection unless explicitly configured by downstream authors.
Reproducible Evidence Audit: NIST NVD API v2 Aggregation Methodology (2026-11-24)

Retrieval Date: 2026-11-24. Endpoint: https://services.nvd.nist.gov/rest/json/cves/2.0?keywordSearch=Model+Context+Protocol&resultsPerPage=200. Total matching advisories returned: 174 (23 published in 2025; 151 published between 2026-01-01 and 2026-11-24). Severity counts extracted from the primary NVD CVSS v3.1/v3.0/v4.0 vector per CVE: Critical = 26, High = 83, Medium = 59, Low = 6. CWE frequencies reflect explicit MITRE CWE identifiers listed in NVD weaknesses objects (a single CVE may map to multiple CWEs).

3. Forensic Case Ledger: Representative High & Critical MCP Vulnerabilities

Reviewing individual high-severity CVEs demonstrates why developer workstations running local MCP clients face immediate credential and remote code execution risks even behind corporate VPNs and NAT firewalls.

CVE IDPublishedCVSSCWEComponent & Verified Failure Mechanism
CVE-2026-772442026-09-2210.0CWE-287 / 862MCP Atlassian (<0.22.0): HTTP transport accepted unverified user-supplied identity claims against Confluence/Jira tools.
CVE-2026-599712026-09-1510.0CWE-306 / 346MySQL MCP Server (<0.4.2): Enabling network transport exposed database execution tools without authentication or origin validation.
CVE-2026-492572026-06-1810.0CWE-306mcp-pinot (<=3.0.1): Exposed Apache Pinot query execution over network transport without authentication enforcement.
CVE-2026-773662026-10-129.9CWE-639 / 863obsidian-tc (<1.3.1): Tool dispatch failed to verify caller authorization scope against requested Obsidian vault paths.
CVE-2026-61559 / 60 / 682026-09-159.6 - 9.8CWE-918 / 22 / 350@zereight/mcp-gitlab (<2.1.30): SSE and Streamable HTTP modes combined SSRF, path traversal, and missing host/DNS verification.
CVE-2026-326252026-06-029.6CWE-200LibreChat (<=0.8.3): MCP integration exposed sensitive credential and configuration state across session boundaries.
CVE-2025-340722025-07-029.3CWE-200Deprecated Slack MCP Server: Prompt-triggered message posting caused Slack automatic link unfurling to exfiltrate private channel context.
CVE-2025-681432025-12-178.8CWE-22mcp-server-git (<2025.9.25): Unsanitized repository path arguments allowed arbitrary directory access outside target git roots.
CVE-2025-66414 / 162025-12-028.1CWE-1188Official MCP TS (<1.24.0) & Python (<1.23.0) SDKs: Local HTTP servers lacked default DNS rebinding protection out of the box.

4. Counter-Intuitive Cutoff: Why Localhost HTTP/SSE Breaks Workstation Isolation

Security practitioners frequently assume that binding a development tool to 127.0.0.1 renders remote exploitation impossible. Across the 2025-2026 NVD MCP corpus, however, CWE-346 (Origin Validation Error), CWE-350 (Reliance on Reverse DNS Resolution), and CWE-1188 (Insecure Default Initialization) repeatedly turned 127.0.0.1 MCP servers into browser-reachable remote execution relays.

Because modern web browsers allow arbitrary third-party tabs to send fetch() or EventSource requests toward localhost or attacker-controlled domains whose DNS TTL drops to zero (DNS rebinding), any local MCP HTTP/SSE daemon that does not validate Host against an exact loopback allowlist, reject non-matching Origin headers, and enforce a per-session cryptographic bearer secret is exposed to drive-by exploitation. Even worse, when desktop Electron AI hosts render untrusted MCP tool outputs without strict sanitization (CVE-2025-47777, CVE-2025-58357, CVE-2026-22792), a single poisoned repository README or database row escalates directly into host-level code execution.

The operational cutoff is unambiguous: never expose an MCP server over HTTP/SSE for single-user local coding workflows. Use stdio transport spawned directly by the client inside a dedicated rootless container or Bubblewrap sandbox, keeping zero listening sockets open on the host network stack. For complementary FIDO2 hardware key enrollment and Plane-14 Unicode Tag inspection workflows, see our Hardware Security Keys & MCP Guide, Hardened OS & Browser Matrix, and Location Telemetry OPSEC Post-Mortem.

5. Hardened Deployment Matrix: Transport & Sandbox Verification Checklist

Before enabling any MCP server in Cursor, Claude Desktop, VS Code, or custom CI agents, verify all five isolation controls below:

  1. Enforce stdio + Rootless Filesystem Jails: Launch local MCP binaries inside bwrap --ro-bind /usr /usr --bind "$PWD" /workspace --unshare-net --die-with-parent or podman run --rm -i --network=none --read-only --cap-drop=ALL, blocking reads of ~/.ssh, ~/.aws, ~/.gnupg, and hardware-wallet config directories.
  2. Upgrade SDKs Past DNS-Rebinding Defaults: Verify @modelcontextprotocol/sdk >= 1.24.0 (TypeScript) and mcp >= 1.23.0 (Python) before using any Streamable HTTP listener, and explicitly enable Host + Origin validation middleware.
  3. Require OAuth 2.1 / Scoped Bearer Tokens on Remote MCP: Never deploy HTTP/SSE MCP connectors with static shared secrets or unauthenticated fallback paths (CWE-306, CWE-287).
  4. Block Outbound SSRF Egress (CWE-918): Run network-enabled MCP containers behind an egress proxy that blocks RFC 1918 private subnets (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local cloud metadata (169.254.169.254).
  5. Pin Immutable Package Digests: Replace npx -y @latest and uvx auto-updates with exact SHA-256 container digests or locked dependency hashes, and scan external tool descriptions locally in the Unicode & Metadata Sanitizer.
Local Verification Tool

Hardened Mobile OS & Browser Capability Matrix

Compare Verified Boot hardware attestation, ARMv9 Memory Tagging Extension enforcement, cellular baseband lockouts, and browser state partitioning locally.

OFFLINE SANDBOX (connect-src 'none') Zero network uploads | Client-side deterministic execution

Frequently Verified Technical Questions

Why are local Model Context Protocol servers vulnerable even when bound only to localhost?

Local MCP servers running Streamable HTTP or Server-Sent Events (SSE) transport frequently skip strict HTTP Origin and Host header checks (CWE-346 and CWE-350) or omit bearer authentication (CWE-306). A malicious webpage opened in the user browser can exploit DNS rebinding or cross-site requests to invoke local MCP tools and execute host commands.

Primary Reference: NIST NVD CVE-2026-59971 & CWE-346

Which software weaknesses appear most frequently across published MCP server CVEs?

Across 174 Model Context Protocol vulnerabilities indexed in NIST NVD through November 24, 2026, Server-Side Request Forgery (CWE-918, 27 CVEs) and Path Traversal (CWE-22, 24 CVEs) rank highest, followed by Missing Authentication (CWE-306, 15 CVEs), Origin Validation Error (CWE-346, 13 CVEs), and Sensitive Information Exposure (CWE-200, 12 CVEs).

Primary Reference: NIST NVD CVE API v2 Query

Does disabling prompt-injection instructions inside the LLM prevent MCP server exploitation?

No. Prompt-layer guardrails do not stop classic deterministic parser, filesystem, and network vulnerabilities inside the MCP server process itself. Over 62% of audited MCP CVEs carry High or Critical CVSS scores because unauthenticated HTTP endpoints, unsafe git or shell wrappers, and unrestricted file reads execute regardless of LLM intent.

Primary Reference: OWASP GenAI & MITRE CWE

Cryptographic & Editorial Revision Ledger

Published: | Last Verified:

  • 2026-11-24: Published empirical aggregation of 174 Model Context Protocol CVEs retrieved from the NIST NVD API v2 on 2026-11-24, including CWE taxonomy, CVSS 9.3-10.0 case reconstructions, and stdio vs. HTTP/SSE sandboxing cutoffs.