MCP Server Security Checklist: 2 CVEs to Patch in 2026
A practical MCP server security checklist covering the new 2026 CVEs, stateless MCP spec changes, and token checks before you connect agents to real systems.
By Babul Jack
Two CVEs disclosed on November 11, 2026 in AWS's open-source mcp-gateway-registry show exactly how MCP server security breaks in production: a server-side request forgery in the registration API and a missing-authorization bug that let any signed-in user grant themselves admin rights. If you're exposing an MCP server to an AI agent, this MCP server security checklist walks through what actually went wrong, what changed in the protocol itself, and the concrete fixes to apply before you connect an agent to a real system.
In client projects I've shipped MCP servers that sit in front of ERPs, payment ledgers and internal admin panels, and the pattern of mistakes repeats: teams treat the MCP layer like a convenience wrapper and skip the authorization checks they'd never skip on a normal API. That habit is now showing up in CVE databases.
What actually broke in mcp-gateway-registry
AWS's mcp-gateway-registry is a reference implementation for discovering, registering and proxying MCP tool servers — the kind of component a lot of teams copy as a starting point for their own gateway. Two bugs landed in it within the same disclosure window.
CVE-2026-125926 is a server-side request forgery in the server registration and update API. An authenticated user who could register or modify a server could point its upstream address at internal network services, including cloud instance metadata endpoints, and in some cases the gateway reflected those responses back to the caller. AWS confirmed the issue affects versions 1.0.3 through 1.34.0 and is fixed in 1.35.0.
CVE-2026-100307 is worse: missing authorization on the external management API let any signed-in user assign themselves the registry administrator scope through a crafted group import request, handing them control over every registered gateway asset. It affected versions 1.0.9 through 1.24.7 and is fixed in 1.25.0.
The detail that should worry every team running an older fork: upgrading to fix one CVE does not fix the other. A deployment on 1.25.0 carries the privilege-escalation fix but is still exposed to the SSRF bug until it reaches 1.35.0. AWS's own post-upgrade guidance is blunt — review every registered server's upstream address, audit logs for the period you ran an affected version, and rotate any cloud role credentials attached to the registry if you can't rule out abuse.
Why this matters beyond one open-source project
Neither bug is exotic. SSRF via an unvalidated upstream address and a missing authorization check on a management endpoint are both classic web vulnerabilities — they just happen to sit behind an MCP wrapper now. That's the real lesson: putting "MCP" in front of a service does not change the security model underneath it. If anything, it raises the stakes, because the thing calling your API is an autonomous agent that will retry, chain calls and act on whatever the server hands back.
How the MCP specification itself changed in 2026
While individual implementations were getting patched, the protocol moved underneath them. The July 28, 2026 MCP specification transitioned MCP to a stateless model, removing the protocol-level session identifiers that earlier versions relied on. Google's transports working group, which helped drive the change, described the old stateful assumptions around persistent sessions as a scaling bottleneck once MCP adoption moved from prototypes to production traffic.
Under the stateless model, every request carries the information needed to process it, so a gateway can route a call to any available server instance instead of pinning a client to the one that started its session. That's good for horizontal scaling and failover, but it pushes two responsibilities back onto you:
Business state has to live somewhere explicit. If an agent is drafting a purchase order across several calls, the tool now needs to persist a reference (a draft ID in your ERP, for example) rather than relying on an in-memory session, because the next call may land on a different server instance.
Authorization has to be re-checked on every request. Since there's no session to trust, each call must carry and validate its own access token.
The spec's security guidance is explicit about that second point: MCP servers implementing authorization must verify every inbound request and must not treat a session, or possession of a state handle, as proof of identity. A handle is a name, not a credential — you still have to check who's holding it and what they're allowed to do, every time.
The same spec update also formally deprecated Dynamic Client Registration for MCP proxy servers, specifically to close the "confused deputy" pattern: a proxy using a static client ID with a third-party authorization server, combined with per-client dynamic registration and a lingering consent cookie, could let a malicious client get a token it was never granted.
MCP server security checklist for 2026 builds
This is the checklist I now run through on every MCP server before it touches production data, mapped to the failures above.
Validate every outbound address a registered tool can call. Never let a user-supplied upstream URL reach your gateway's HTTP client without an allowlist — this closes the exact SSRF class behind CVE-2026-125926.
Put every management and admin endpoint behind the same authorization checks as your data endpoints. "Internal" and "external" APIs on the same service need the same scrutiny; CVE-2026-100307 existed because one didn't get it.
Verify the access token on every request, not just at session start. Confirm issuer, audience and expiry each time, per the MCP security best practices.
Bind state handles to an authenticated principal server-side. Don't accept a client-supplied user ID as proof of who's calling.
Drop Dynamic Client Registration on proxy servers unless you genuinely need it, and if you keep it, require explicit per-client consent before forwarding an authorization flow.
Run tool execution in a sandboxed, least-privilege identity, separate from the server's own credentials, so a compromised tool call can't inherit the gateway's broader permissions.
Log every tool invocation with enough detail to reconstruct who called what, since stateless routing means a single interaction can touch several server instances.
Pin your MCP SDK and server versions and patch on disclosure — both CVEs above had fixes available on day one, and the cost of upgrading is far lower than the cost of an incident review.
A quick comparison: stateful vs. stateless MCP responsibilities
Responsibility
Pre-2026-07-28 (stateful)
Post-2026-07-28 (stateless)
Session tracking
Protocol-level session ID
Not provided by the protocol
Routing
Must pin client to one server instance
Any instance can handle any request
Business state (drafts, workflows)
Often kept in server memory
Must be persisted explicitly by the tool
Authorization
Sometimes checked once per session
Must be checked on every request
Failover
A server crash can break an in-flight interaction
Traffic moves to another instance transparently
# Minimal per-request authorization check for a stateless MCP tool
def handle_tool_call(request):
token = request.headers.get("Authorization")
claims = verify_token(token) # issuer, audience, expiry
if not claims:
raise Unauthorized()
if not is_allowed(claims.subject, request.tool_name):
raise Forbidden()
# never trust a client-supplied state handle on its own
state = load_state(claims.subject, request.state_handle)
return execute(request.tool_name, request.params, state)
If you'd rather have this checklist implemented and tested on a real codebase than run it yourself, that's exactly what my AI agent development service covers — building and hardening the MCP and tool-calling layer that sits between an agent and your production systems.
Why this fits into the bigger agent-security picture
MCP server security doesn't replace the other defenses an agent needs. I've written before about securing AI agents from prompt injection — a hardened MCP server still has to treat tool responses as untrusted input, because a compromised or malicious upstream can smuggle instructions back into the agent's context through a perfectly well-authorized call. The two problems compound: an attacker who gets SSRF access through a registry bug can also use it to plant poisoned tool output.
It also connects to the control problem I covered in why every major AI agent SDK just added a kill switch — once your agent can call dozens of MCP tools across a stateless gateway, you need a fast way to revoke a token or disable a tool mid-run, not just block it at the next session start, because there may not be a "next session" in the way you're used to thinking about it.
And the supply-chain angle matters just as much here as anywhere else in your stack. The same discipline I describe in npm supply chain attack prevention applies to MCP servers and SDKs you pull from a registry or marketplace: pin versions, review what you're installing, and don't let an agent auto-install a tool server you haven't vetted.
Frequently asked questions
What is MCP server security and why does it matter in 2026?
MCP server security is the set of practices for protecting Model Context Protocol servers that connect AI agents to real tools and data — authorization, input validation, sandboxing and token handling. It matters now because MCP moved from prototypes to production infrastructure in 2026, and the protocol's own stateless redesign shifted more authorization responsibility onto server implementers.
What is the mcp-gateway-registry vulnerability?
It's actually two separate CVEs disclosed in November 2026: CVE-2026-125926, a server-side request forgery in the server registration API (fixed in version 1.35.0), and CVE-2026-100307, a missing-authorization bug that allowed privilege escalation to registry administrator (fixed in version 1.25.0). Both require upgrading past 1.35.0 to be fully resolved.
Does stateless MCP make agent integrations more or less secure?
Neither automatically — it removes a reliability bottleneck (session pinning) but requires you to re-check authorization on every request instead of once per session. Done correctly it's more secure, because there's no lingering session to hijack; done carelessly, skipping per-request checks leaves every call exposed.
Do I need OAuth for an MCP server?
If your MCP server exposes anything beyond local, single-user tools over stdio, yes — the MCP specification's authorization model is OAuth-based, with each request carrying an access token the server must validate for issuer, audience and permissions before executing a tool.
How often should I patch my MCP server dependencies?
Treat MCP SDKs and gateway software like any other internet-facing dependency: patch on disclosure, not on a quarterly cycle. Both 2026 mcp-gateway-registry CVEs had fixed versions available the day they were published, so the exposure window is entirely a function of how fast you upgrade.
Key takeaways
Two CVEs disclosed November 11, 2026 in AWS's mcp-gateway-registry — an SSRF (CVE-2026-125926, fixed in 1.35.0) and a privilege-escalation bug (CVE-2026-100307, fixed in 1.25.0) — show that classic web vulnerabilities now live inside the MCP layer.
Fixing one CVE doesn't fix the other; you need the latest version, not just "a patched" version.
The July 28, 2026 MCP specification made the protocol stateless, removing session identifiers and requiring authorization checks on every request instead of once per session.
Dynamic Client Registration is deprecated for MCP proxy servers to close confused-deputy style token leaks.
A practical MCP server security checklist: validate upstream addresses, authorize every endpoint equally, re-verify tokens per request, bind state handles server-side, sandbox tool execution, log every call, and patch on disclosure.
MCP security is one layer among several — prompt injection defenses, kill switches and supply-chain hygiene all still apply on top of it.