Upgrade awslabs.aws-serverless-mcp-server to 0.2.1

AWS Serverless MCP Server could be steered to read or overwrite JSON files outside its folder · Security incident · Web · awscloud · Nov 2, 2026

What happened

AWS bulletin 2026-164-AWS and advisory GHSA-r6mm-377j-qg8m (2 Nov) say versions before 0.2.1 of the AWS Serverless MCP Server did not keep the project name inside its deployment-status folder. Anyone who could influence the agent could use ../ or an absolute path to make it read JSON files elsewhere on the machine into the agent's context, and, with --enable-write on, create or overwrite JSON files there. Rated Moderate (6.1). Fixed in 0.2.1; AWS lists no workaround.

How to prevent it

Keep MCP servers patched and read-only by default; only switch on write flags for the task that needs them.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

I use the AWS Serverless MCP Server with my AI coding assistant. Help me fix CVE-2026-116635: 1) Check which version of awslabs.aws-serverless-mcp-server I run and whether I start it with --enable-write. 2) Give me the command to upgrade to 0.2.1 or later. 3) Help me turn off --enable-write unless I really need it. 4) Remind me what a prompt-injected agent could reach on this machine and check the AWS credentials it uses are least-privilege. Don't change anything until I approve.

Why this keeps happening: trusting agents & ai input

An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.

A quick checklist before you ship

More on this: every trusting agents & ai input story and our related guide.

Tools involved

MCP stories, AWS stories

Related stories

Source: original post on Web ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.