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:
- AWS fixed a file-write flaw in its Pricing MCP server that AI clients could auto-approve.
- Eleven MCP server flaws were disclosed in two days, including a bypass of a Jupyter MCP Server fix.
- AI infrastructure joined CISA’s list of exploited vulnerabilities as attackers put AI agents to work.
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
News
Eleven MCP server flaws disclosed in two days, including a bypass of a Jupyter MCP Server fix
GitHub's advisory database listed 11 reviewed flaws in MCP servers on Nov 30 and Dec 1.
News
AWS fixes file-write flaw in Pricing MCP server that AI clients could auto-approve
CVE-2026-126816 let anyone who can influence an AI agent write files outside the intended folder.
Analysis
AI infrastructure joins CISA's exploited list as attackers put AI agents to work
CISA listed exploited flaws in LiteLLM and MONAI Label, and a ransomware affiliate used an AI coding assistant as a command channel.
Guide
How to secure MCP servers: a practical hardening guide
MCP servers give AI agents real access to files, systems and accounts.