Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · MCP security

Our assistant uses the AWS Labs Serverless MCP server to deploy and check serverless projects, and on some machines we run it with --allow-write. What is CVE-2026-116635, which version fixes it, and what could someone do with it?

Last updated

TL;DR: It could before version 0.2.1. CVE-2026-116635 (GHSA-r6mm-377j-qg8m and AWS security bulletin 2026-164-AWS, both published November 2, 2026, rated moderate) affects awslabs.aws-serverless-mcp-server before 0.2.1. The server keeps deployment status as JSON files in a status folder, and it built each file's path from the project name without confining it, so a name containing ../ segments or an absolute path pointed it at a JSON file anywhere the server's account can reach. Reading returned that file into the assistant's context; with writing enabled, the server could also create or overwrite a JSON file there with deployment metadata. The project name is something the assistant fills in, so text the assistant reads, in a ticket, a README or a web page, could steer it. AWS says 0.2.1 fixes it and there is no workaround. PyPI shows 0.2.1 uploaded October 30, 2026, and 0.2.3 as the newest release on November 27, 2026.

What should I check, step by step?

1. Check the installed version: awslabs.aws-serverless-mcp-server before 0.2.1 is affected. PyPI listed 0.2.3, uploaded November 25, 2026, as the newest release on November 27, 2026.

  1. If your client launches the server through uvx with the latest tag, restart it so it resolves a new build; a pinned or cached copy stays where it was.
  2. Know which machines run it with --allow-write, the README's option for mutating tools such as sam_deploy and deploy_webapp. The read path needs nothing extra, but creating or overwriting a JSON file needs write access turned on.
  3. Until every copy is upgraded, keep write access off and don't let the assistant read outside content (issues, web pages, other people's repositories) in the same session as this server.
  4. Read the project name in any approval prompt before a deployment tool runs. A name with ../ or a leading / isn't a project name.
  5. Run the server under an account that can't reach other JSON files that matter: application config, credentials helpers' caches, editor and tool settings in your home directory.
  6. If an affected version ran with write access while the assistant read outside content, look for recently changed JSON files outside the deployment status folder, and restore any that now hold deployment metadata.

What does CVE-2026-116635 in the AWS Serverless MCP server let someone do?

AWS's advisory GHSA-r6mm-377j-qg8m (CVE-2026-116635, moderate, published November 2, 2026) and bulletin 2026-164-AWS describe the deployment status component. Under certain conditions, someone who can influence the MCP agent could make it read JSON files outside the intended deployment status directory and, where write access has been enabled, create or overwrite JSON files outside it. The route is a directory traversal sequence or an absolute path in the project name.

Which AWS Serverless MCP server version fixes CVE-2026-116635?

AWS's bulletin says the issue is addressed in awslabs.aws-serverless-mcp-server 0.2.1 and that no workarounds are available. It recommends upgrading to the latest version and carrying the fix into any fork or derivative of the code. The server's README now documents project_name for deploy_webapp as letters, digits, hyphens and underscores only, up to 128 characters, which leaves no room for ../ or a leading slash.

Why do MCP tool arguments that name files need their own check?

A project name looks like a label, but this server used it to build a file path. Any argument that ends up in a path is a place on disk the model can choose, and a model will pass whatever text in its context persuades it to. That makes the server, not the prompt, the place to confine it.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Before my assistant runs a deployment tool on the AWS Serverless MCP server, ask me to approve that exact call, with the project name and stage in the request, so a crafted name can't point it at another folder.”

One-click setup

{
  "tool": "request_human_approval",
  "arguments": {
    "action": {
      "tool": "deploy_webapp",
      "mcp_server": "awslabs.aws-serverless-mcp-server",
      "server_version": "0.2.3",
      "deployment_type": "backend",
      "project_name": "<project name>",
      "project_root": "/work/<project folder>",
      "region": "us-east-1"
    },
    "summary": "Deploy a serverless project through the AWS Serverless MCP server",
    "expires_in_minutes": 30
  }
}

Rightshold isn't affiliated with AWS. It doesn't scan MCP server code or client settings, and an approval record isn't a finding that a call is safe. Advisory details are as published by AWS in GitHub's advisory database (GHSA-r6mm-377j-qg8m) and AWS security bulletin 2026-164-AWS, the server's --allow-write option and deploy_webapp parameters as described in its README in the awslabs/mcp repository, and release dates as listed on PyPI, all read November 27, 2026; advisories get updated, so confirm fixed versions on the linked pages.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'