← All advisories
CVE-2026-116635mediumBroken access control2026-11-02

CVE-2026-116635: AWS Serverless MCP Server lets a crafted project name read or overwrite JSON files outside its directory (fixed 0.2.1)

The deployment-status component of awslabs.aws-serverless-mcp-server before 0.2.1 built file paths from the serverless project name without limiting them to its directory. Anyone who can influence the agent's project name (for example through prompt injection) could make it read any JSON file the server can reach and, with --enable-write, create or overwrite JSON files elsewhere. Fixed in 0.2.1. Separately, AWS fixed a run_script validator bypass in its hosted AWS MCP Server (CVE-2026-115845) service-side.

01.

What it is

Relative (../) or absolute paths in the project name input were used as-is for the deployment status file (CWE-23 / CWE-36).

Read: a JSON file outside the intended directory is returned into the agent's context. Write (only with --enable-write): an existing JSON file is clobbered with deployment metadata.

awslabs/mcp advisory GHSA-r6mm-377j-qg8m (2 Nov 2026) lists < 0.2.1 as affected and 0.2.1 as patched; AWS says there is no workaround.

Related, no action needed: AWS security bulletin 2026-149-AWS (23 Oct 2026) says an incomplete deny list in the Python validator of the hosted AWS MCP Server's run_script tool could let an authenticated user run arbitrary code inside their own isolated session (CVE-2026-115845). AWS fixed it on the service side.

02.

How to check

  1. Find the version you run: `pip show awslabs.aws-serverless-mcp-server`, or the version pinned in your MCP client's uvx launch line.
  2. Check whether your MCP config starts it with --enable-write.
03.

How to fix

  1. Upgrade to awslabs.aws-serverless-mcp-server 0.2.1 or later (pin it in the uvx line, e.g. [email protected]).
  2. Only enable --enable-write when you need it, and treat project names coming from documents or other untrusted content with care.
pip show awslabs.aws-serverless-mcp-server | grep -i ^version
grep -rn 'aws-serverless-mcp-server' ~/.cursor/mcp.json ~/.aws/amazonq/mcp.json ~/Library/Application\ Support/Claude/claude_desktop_config.json 2>/dev/null
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.