AI AgentsPublished 19 November 20265 min

MCP Server Security: Real Risks and How to Reduce Them

By Alexandre Saint-Jean

MCP Server Security: Real Risks and How to Reduce Them

Audio version

Audio version produced by text-to-speech from the article. Our AI charter


MCP server security comes down to one fact: an MCP server gives an AI agent the power to act, and the agent obeys instructions it reads, including hostile ones. As of 19 November 2026, documented incidents and research demonstrations show where things go wrong, and the specification prescribes controls for most.

What are the real security risks of MCP servers?

They fall into four families: hidden instructions, code flaws, malicious packages and tenant isolation bugs. If you are still choosing what your first agent should touch, start with building and deploying your first agent.

CaseDateNatureTypeWhat was fixed or advised
Tool poisoning and rug pull (Invariant Labs)1 Apr 2025Researcher demoHidden instructions in tool descriptionsShow full descriptions, pin versions
GitHub MCP, public issue (Invariant Labs)26 May 2025Researcher demoInjected issue leaks private test reposOne repository per session; GitHub's response not stated
Supabase MCP, support ticket (General Analysis)Jul 2025Researcher demoInjected ticket could leak a token tableRead-only mode; Supabase reports no customer incident
Asana MCPJun 2025Real incidentTenant isolation bugOffline 5 to 17 June; no sign of exploitation (The Register)
MCP Inspector, CVE-2025-4959613 Jun 2025Code flawRemote code execution, CVSS 4.0 score 9.4 (from GitHub)Fixed in 0.14.1
mcp-remote, CVE-2025-65149 Jul 2025Code flawCommand injection, CVSS 3.1 score 9.6 (from JFrog)Affects 0.0.5 to 0.1.15; fixed in 0.1.16 (GHSA-6xpm-ggf7-wc3p)
postmark-mcpSep 2025Real incidentFake npm package copying every emailBackdoor in v1.0.16, removed from npm

The first family does not yield to a server patch alone. In the GitHub demonstration, Invariant says the flaw is not in the server's code and that no server-side fix alone solves it: an agent reads untrusted text, holds access to private data and can write somewhere public. Invariant recommends limiting each agent session to a single repository.

Code flaws come next. NVD also lists CVE-2026-30623 (CVSS 3.1 score 9.8 from a secondary source, status Awaiting Analysis), remote code execution in LiteLLM's MCP server creation. LiteLLM's own advisory says it is fixed since v1.83.6-nightly, with v1.83.7-stable as the first stable fix. OX Security lists the MCP project among those that declined to patch its stdio findings, without saying who answered "by design".

Are official MCP servers and the registry safe to install?

An official vendor server is safer than a third-party package, but a registry listing alone proves little. For postmark-mcp, a developer copied the legitimate server, shipped 15 clean versions, then added a line in 1.0.16 that blind-copied every email. Postmark said it "had absolutely nothing to do with this package". Koi Security counted about 1,500 downloads a week, per The Register.

The official registry is not a safety stamp either. It is in preview, authenticates namespaces, and delegates code scanning to package registries and aggregators. In August 2026, OX Security reported a malicious server called V.A.P.E listed there (a single third-party source, unconfirmed by the registry).

For the basics, see how MCP connects agents to tools.

What does the MCP specification require?

The current version, 2026-07-28, names eleven risks in its Security Best Practices page, and the specification states that the protocol cannot enforce its principles by itself. The rules that matter most for a business:

RuleLevelRisk it addresses
Hosts obtain explicit user consent before invoking any toolPrinciple; normative text: SHOULD build consent flowsSilent actions
Servers do not accept tokens not issued for themMUST NOTToken passthrough
Proxy servers implement per-client consentMUSTConfused deputy
One-click local setup asks consent and shows the exact commandMUSTLocal server compromise
Run local servers in a sandbox with minimal privilegesSHOULDCode execution, exfiltration
Start with minimal scopes, no wildcard scopesRecommendedScope creep
Do not treat possession of a state handle as authenticationMUST NOTState handle hijacking

Authorization is optional, and a local stdio server reads its credentials from the environment. The 2026-07-28 revision has no protocol-level sessions, so "session hijacking" applies to revisions up to 2025-11-25.

What MCP security checklist works for a small business?

  • Use the vendor's official server. A name or a listing proves little.
  • Keep an approved list. Microsoft advises a tenant-level allowlist with "Allow all" turned off. Claude's admin controls let owners enable a connector first, and allow reads while blocking writes.
  • Start read-only. The specification starts with low-risk discovery and read scopes. Supabase offers a read-only mode.
  • Require approval for writes, and read what you approve. Invariant showed a confirmation dialog can hide the payload.
  • Pin versions and re-review. Descriptions can change after approval, and Microsoft notes changes can go live without re-approval.
  • Never mix untrusted content, private data and an outbound channel in one agent session, the common thread of the GitHub and Supabase demonstrations.
  • Log tool calls. OWASP's MCP Top 10 (beta phase) lists missing audit and telemetry as a risk.

Roles and oversight are covered in who approves, watches and stops an agent.

Where to start?

List the MCP servers already installed, remove the unofficial ones, and make every write require approval. To connect an agent to your ERP or CRM with these controls from day one, see our AI and ERP integration service.

Frequently asked questions

Is MCP secure?
The protocol is a specification, and it says itself that it cannot enforce its security principles at the protocol level. Security therefore depends on the servers you install, the permissions you grant to each of them and the human approvals you keep on writes. Treat every server as code with access to your data.
What is MCP tool poisoning?
Tool poisoning hides malicious instructions in a tool's description. The user usually does not see it, but the model reads it. Invariant Labs, which described the attack on 1 April 2025, also showed a rug pull: a server changes a description after you approved it. Showing full descriptions and pinning versions are the recommended defences.
Are servers in the official MCP registry safe?
Not automatically. As of 19 November 2026 the registry is in preview. It verifies that a server comes from its claimed namespace, such as a GitHub account or a domain, and delegates security scanning to package registries and aggregators. A listing proves who published a server, not that its code is harmless.
How do I secure a local MCP server?
Treat it as code running on your machine. The specification says a client with one-click setup must get consent before running commands and show the exact command. It also recommends running servers in a sandbox with minimal privileges. Install only servers from publishers you trust, and keep their versions pinned.
Does OAuth protect my MCP server?
Only partly. Authorization is optional in the specification. When used over HTTP, servers must validate that tokens were issued for them and must not accept other tokens. OAuth does not stop a poisoned tool description or an injected instruction, so approvals and least privilege still matter.

Sources

Get the AI briefing, no commitment

Free · Every Wednesday morning · One-click unsubscribe · Your data is never sold

Free first call

Got an AI project in mind?

30 minutes to scope your need and see how to fund it. No commitment.

Working with companies across France, remote.