Actively exploited Attackers exploit Acronis Backup plugin for cPanel; users of version 1.9.4 are told to downgrade CVSS 7.5 · Published Dec 4, 05:40 UTC What to do now ›

Topic · AI

MCP security: news, flaws and how to secure MCP servers

The Model Context Protocol (MCP) is “an open-source standard for connecting AI applications to external systems”, in the words of its official site. Anthropic introduced it on Nov 25, 2024. Every MCP server an organization connects adds attack surface: it may hold credentials, run commands or return text that an AI model will act on.

4 articles · updated Follow (Atom feed)

Start here

How MCP works

An MCP server makes a system available to AI applications, which connect to it as MCP clients. At launch, Anthropic described MCP as a standard “for connecting AI assistants to the systems where data lives, including content repositories, business tools, and development environments.”

Servers can run on a user’s own machine or be reached over the network. Authorization is optional in the protocol. Where it is used over HTTP, the specification defines an OAuth-based flow; local servers started over standard input and output take their credentials from their environment instead.

What the specification requires

The current specification, version 2026-07-28, has a Security Best Practices page that describes the attacks to defend against, among them the confused deputy problem, token passthrough, server-side request forgery (SSRF), state handle hijacking and the compromise of local MCP servers. Its key rules:

  • Tokens: “MCP servers MUST NOT accept any tokens that were not explicitly issued for the MCP server.” Passing a client’s token on to another API, known as token passthrough, “is explicitly forbidden”.
  • Authorization: where authorization is used, authorization servers “MUST implement OAuth 2.1”, and MCP servers “MUST validate that access tokens were issued specifically for them as the intended audience”.
  • State: version 2026-07-28 removed protocol-level sessions, and “MCP servers MUST NOT treat possession of a state handle as authentication.”
  • Local servers: a client that offers one-click setup of local MCP servers “MUST implement proper consent mechanisms prior to executing commands.”

Where the risks are

The OWASP MCP Top 10, still in beta, lists ten risk areas, among them token mismanagement and secret exposure, privilege escalation via scope creep, tool poisoning, command injection and execution, prompt injection via contextual payloads, and shadow MCP servers.

Recent cases from our coverage:

What to do

  • Keep an inventory of the MCP servers in use, including those developers run on their own machines.
  • Give each server its own narrowly scoped credentials, and reject tokens issued for anything else.
  • Treat everything a server returns as untrusted input to the model. See prompt injection.
  • Have a person approve commands before a local server runs them.
  • Patch MCP servers like any other dependency.

For hands-on steps, see our guide to securing MCP servers. For the wider picture, see AI agent security.

Sources

All coverage

Newest first

Related topics