AWS MCP server flaws (Nov 2026): SSRF, denylist, file write
Which flaws did AWS publish for its MCP servers in November 2026?
Three bulletins, published between November 10 and 16, 2026, cover open source MCP servers. None of the bulletins we read mentions exploitation in the wild, but each one shows a classic weakness carried over into the agent world.
| Bulletin | CVE | Product | Flaw | Fixed version |
|---|---|---|---|---|
| 2026-176-AWS (Nov 10) | CVE-2026-125271 | AWS API MCP Server | Operation name normalization bypasses denyList and elicitList | 1.5.1 |
| 2026-180-AWS (Nov 11) | CVE-2026-125926 | mcp-gateway-registry | SSRF through the upstream address of a registered server | 1.35.0 |
| 2026-184-AWS (Nov 16) | CVE-2026-126816 | aws-pricing-mcp-server | Path traversal and arbitrary file write in the report generator | 1.0.31 |
AWS rates all three bulletins “Important”. The affected versions are 0.2.13 through 1.5.0 for the API MCP Server, 1.0.3 through 1.34.0 for mcp-gateway-registry, and anything before 1.0.31 for the pricing server. The pricing server has one special case: the deprecated package awslabs.cost-analysis-mcp-server (1.0.5 and earlier) is affected and will not receive a patch.
How does an SSRF affect an MCP server registry?
The registry does not properly validate the upstream address of a registered server, so a user allowed to register or modify servers can make the gateway send requests to services on the internal network. According to AWS, the gateway sometimes returned the responses to the user. The attack therefore requires an authenticated account with that write permission.
This is a classic SSRF, and in the cloud the usual target is the instance metadata service, which hands out role credentials. That is why the bulletin recommends requiring IMDSv2 on EC2, reducing the permissions of the attached role, and limiting outbound connections from the registry and its authentication component. Our article on the SSRF that opens your cloud and your agents walks through that path.
One detail deserves attention: version 1.35.0 validates the address when a server is registered or modified. Configurations already stored are left untouched. After upgrading, you therefore need to review existing upstream addresses, examine the logs for the affected period, and rotate the cloud role credentials if unexpected activity cannot be ruled out. The 1.25.0 fix, which addressed a separate issue in the external management API, does not protect against this one.
Why is a denylist fragile?
Because the comparison works on strings, and a string can be written in several ways. In the AWS API MCP Server, the server normalized operation names before comparing them to the operator’s policy. Names containing consecutive capital letters never matched correctly written denyList or elicitList entries, so a denied operation, or one that required confirmation, could run. AWS states that there is no workaround other than upgrading.
The general principle applies to any control based on names: the normalization applied to the input must be identical to the one applied to the rule, otherwise the rule does not bite. Three practices reduce the risk:
- Prefer an allowlist: only explicitly listed operations pass, everything else is refused, including what nobody anticipated.
- Normalize once, in one place, for both the rule and the request, then compare canonical values.
- Test variants of a forbidden name: casing, acronyms, separators, consecutive capitals, lookalike Unicode characters.
A human confirmation that depends on the same check falls with it. Our article on human-in-the-loop explains why approval has to rest on a mechanism that cannot be bypassed through the name of the action.
What does the file write in the pricing server show?
That a tool annotated as read-only can write anywhere if its output path is not confined. In aws-pricing-mcp-server, the cost report generation tool let anyone who could influence the agent write outside the intended directory, using absolute paths or traversal sequences. Because the tool carries the “read-only” annotation, some MCP clients may approve it automatically, without asking the user.
The mitigation AWS gives is to remove generate_cost_report from any auto-approve configuration, so that every call asks for confirmation and the output path can be checked, and to avoid passing untrusted content to the agent. On the developer side, the underlying fix is to resolve the final path and verify that it stays under the output directory, and to stop declaring a tool read-only when it creates files.
What lessons apply to anyone deploying an MCP server?
Each flaw maps to a question to ask before go-live:
- Who can change the server’s configuration? If an account can register an address, that account steers the server’s outbound requests.
- What does the server see of the network? An SSRF is worth what the reachable network is worth: cloud metadata, internal services, databases.
- Do deny rules survive malformed input? A rule never tested with variants is only an intention.
- Are a tool’s annotations true? A client that auto-approves relies on the annotation.
- Which version is really running? Forks and derivatives need the same fix.
The checklists in our guide to vetting a third-party MCP server cover these points from the buyer’s side.
How do you test your own MCP server against these three families of flaws?
On a development or staging environment, never on production without written agreement, with these probes:
- SSRF: register or modify a target pointing to loopback addresses, private ranges, the cloud metadata address, a DNS name that resolves to an internal address, and a URL that redirects to an internal one. A server that validates the name but not the resolved address fails the third case.
- Deny policy: for each forbidden operation, submit the casing variants, acronyms, consecutive capitals and separators. Check that confirmation is requested every time.
- File write: for each tool that produces a file, pass an absolute path, directory-climbing sequences and a symbolic link placed in the output directory. Observe where the file lands.
- Annotations: list the tools declared read-only and verify, by observation, that none writes a file or calls an external service.
- Look back: review addresses, rules and files created before the upgrade, because a fix that validates at registration time does not clean up the past.
Each probe maps to a line of MCP security: tool inputs, server privileges, approvals.
How does CleanIssue test an MCP server?
We replay these families of flaws against the MCP server and the agent that calls it, with hostile inputs delivered by the agent itself, then record each proof and its reproducibility. The Agent Red Team Express (€1,900, 5 days, start within 48 hours of signing the quote and the authorization) covers one agent and its MCP tools, including the auto-approve configuration; several servers or a gateway fall under the Custom Red Team, on quote. The first step is a free 30-minute discovery call.
Does your product ship an AI agent? CleanIssue tests what a stranger can make it do with the Agent Red Team Express (5 days, €1,900), or a custom red team for several agents and MCP servers. First step: a free 30-minute discovery call.
Related articles
Three adjacent analyses to keep exploring the same attack surface.
Local MCP server: DNS rebinding and argument injection
Jupyter MCP Server and mcp-server-kubernetes: two November 2026 flaws show a local MCP server can still be attacked. How to test your own.
MCP Tool Poisoning and Rug Pulls: How to Test Them
Poisoned MCP tool descriptions and server rug pulls: how to test for them, which defences to put in place, and what the MCP specification says.
clawdcursor: when copying a PDF runs a command
A bug in clawdcursor, a tool that gives an AI agent the keyboard: apostrophes in a PDF were enough to run a command. How it worked and how it was fixed.
Sources
Related services
If this topic maps to a real risk in your stack, these are the most relevant CleanIssue audits.