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.
Prefer local stdio transport over HTTP/SSE. If HTTP transport is mandatory, require OAuth/Bearer tokens and strict Origin + Host allowlists.
Run every third-party MCP server inside rootless Bubblewrap or Podman --cap-drop=ALL mounting only the active repo directory.
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.
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.
| Rank | MITRE CWE | Weakness Class | NVD Count | Primary Exploitation Mechanism in MCP Stacks |
|---|---|---|---|---|
| 01 | CWE-918 | Server-Side Request Forgery (SSRF) | 27 | Tool URL arguments fetch internal LAN services, cloud IAM metadata endpoints (169.254.169.254), or intranet admin panels. |
| 02 | CWE-22 | Path Traversal | 24 | ../ sequences or symlink escapes read/overwrite ~/.ssh, ~/.aws, or host config files outside workspace boundaries. |
| 03 | CWE-306 | Missing Authentication for Critical Function | 15 | HTTP/SSE and Streamable HTTP transports expose SQL, database, or admin tool endpoints with zero bearer token enforcement. |
| 04 | CWE-346 | Origin Validation Error | 13 | Localhost HTTP listeners ignore browser Origin headers, enabling cross-site or DNS-rebinding invocation from any open tab. |
| 05 | CWE-200 | Exposure of Sensitive Information | 12 | Workspace secrets leaked via automated Slack link unfurling, verbose error traces, or unredacted environment-variable dumps. |
| 06 | CWE-863 | Incorrect Authorization | 10 | Multi-tenant or governed tool dispatch skips caller-to-resource authorization checks across vault or repository scopes. |
| 07 | CWE-770 | Allocation Without Limits | 10 | Oversized payloads, recursive directory globs, or unbounded SSE streams exhaust host memory and crash developer workstations. |
| 08 | CWE-78 / 77 | OS & Command Injection | 15 | Unsanitized CLI flags or file paths concatenated into child_process.exec or Python shell=True subprocess calls. |
| 09 | CWE-1188 | Insecure Default Initialization | 6 | Official 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 ID | Published | CVSS | CWE | Component & Verified Failure Mechanism |
|---|---|---|---|---|
| CVE-2026-77244 | 2026-09-22 | 10.0 | CWE-287 / 862 | MCP Atlassian (<0.22.0): HTTP transport accepted unverified user-supplied identity claims against Confluence/Jira tools. |
| CVE-2026-59971 | 2026-09-15 | 10.0 | CWE-306 / 346 | MySQL MCP Server (<0.4.2): Enabling network transport exposed database execution tools without authentication or origin validation. |
| CVE-2026-49257 | 2026-06-18 | 10.0 | CWE-306 | mcp-pinot (<=3.0.1): Exposed Apache Pinot query execution over network transport without authentication enforcement. |
| CVE-2026-77366 | 2026-10-12 | 9.9 | CWE-639 / 863 | obsidian-tc (<1.3.1): Tool dispatch failed to verify caller authorization scope against requested Obsidian vault paths. |
| CVE-2026-61559 / 60 / 68 | 2026-09-15 | 9.6 - 9.8 | CWE-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-32625 | 2026-06-02 | 9.6 | CWE-200 | LibreChat (<=0.8.3): MCP integration exposed sensitive credential and configuration state across session boundaries. |
| CVE-2025-34072 | 2025-07-02 | 9.3 | CWE-200 | Deprecated Slack MCP Server: Prompt-triggered message posting caused Slack automatic link unfurling to exfiltrate private channel context. |
| CVE-2025-68143 | 2025-12-17 | 8.8 | CWE-22 | mcp-server-git (<2025.9.25): Unsanitized repository path arguments allowed arbitrary directory access outside target git roots. |
| CVE-2025-66414 / 16 | 2025-12-02 | 8.1 | CWE-1188 | Official 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:
- Enforce
stdio+ Rootless Filesystem Jails: Launch local MCP binaries insidebwrap --ro-bind /usr /usr --bind "$PWD" /workspace --unshare-net --die-with-parentorpodman run --rm -i --network=none --read-only --cap-drop=ALL, blocking reads of~/.ssh,~/.aws,~/.gnupg, and hardware-wallet config directories. - Upgrade SDKs Past DNS-Rebinding Defaults: Verify
@modelcontextprotocol/sdk >= 1.24.0(TypeScript) andmcp >= 1.23.0(Python) before using any Streamable HTTP listener, and explicitly enableHost+Originvalidation middleware. - 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). - 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). - Pin Immutable Package Digests: Replace
npx -y @latestanduvxauto-updates with exact SHA-256 container digests or locked dependency hashes, and scan external tool descriptions locally in the Unicode & Metadata Sanitizer.
Frequently Verified Technical Questions
Why are local Model Context Protocol servers vulnerable even when bound only to localhost?
Primary Reference: NIST NVD CVE-2026-59971 & CWE-346
Which software weaknesses appear most frequently across published MCP server CVEs?
Primary Reference: NIST NVD CVE API v2 Query
Does disabling prompt-injection instructions inside the LLM prevent MCP server exploitation?
Primary Reference: OWASP GenAI & MITRE CWE
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.