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

We use the AWS API MCP Server with a security policy file that blocks some AWS CLI commands and asks before others. We read that CVE-2026-16584 let blocked commands run if something went wrong at startup. What happened, which version fixes it, and how do we check that our policy is actually being applied?

Last updated

TL;DR: Not before version 1.3.47. The server's optional security policy (denyList and elicitList in ~/.aws/aws-api-mcp/mcp-security-policy.json) depends on an index of read-only AWS operations that the server loads once at startup from AWS's service reference endpoint, with a 5-second request timeout. In versions 0.2.13 up to 1.3.47, if that load threw an error, such as a brief network problem, the server logged a warning and kept running without the index, and every later call skipped the policy check for the life of the process. AWS's advisory (GHSA-29w2-fq35-v728, CVE-2026-16584, high, CVSS 4.0 7.3, CWE-455, a process that keeps running after its setup goes wrong, published July 23, 2026) says deny and confirm rules were then not consulted and the operations they were meant to restrict ran unchecked. IAM permissions on the server's credentials still applied. Version 1.3.47, released July 22, 2026 (pull request 4315), refuses to start when the index can't load and denies calls if it is ever missing. Upgrade (PyPI listed 1.6.1 as newest on November 23, 2026; 1.5.1 and 1.6.0 fix two later advisories), and keep IAM as the real limit.

What should I check, step by step?

1. Check the installed version of awslabs.aws-api-mcp-server. 0.2.13 up to 1.3.46 are affected and 1.3.47 is the first fixed release. Go to 1.6.1 or later to also pick up the fixes for the later operation-name matching (CVE-2026-125271, fixed in 1.5.1) and OAuth audience (CVE-2026-115413, fixed in 1.6.0) advisories.

  1. If an affected version ran with a security policy file, search its logs for a warning that the read operations index couldn't be loaded. A process that logged it ran with the deny and confirm lists skipped until it was restarted.
  2. Restart any affected server that started during a network outage, or with no route to AWS's service reference endpoint. The advisory's workaround is to restart once connectivity is back so the index loads.
  3. Give the server least-privilege IAM credentials scoped to the task, such as a read-only role. The advisory notes IAM stayed in force throughout, and the README calls IAM the primary control.
  4. After upgrading, test the policy instead of assuming it: ask the assistant to run one command that is on your denyList and confirm it is refused, and one on your elicitList and confirm you are asked first.
  5. On 1.3.47 and later, a server that can't reach the endpoint at startup will exit instead of running unguarded. If you run it in restricted networks, allow that endpoint or expect the server not to start.
  6. If you build MCP servers with policy features, make policy setup a startup requirement: if the data needed to decide allow or deny can't load, refuse to serve rather than carrying on with a warning.

What is CVE-2026-16584 in the AWS API MCP Server?

AWS published GHSA-29w2-fq35-v728 (CVE-2026-16584) on July 23, 2026 for the pip package awslabs.aws-api-mcp-server, versions 0.2.13 up to but not including 1.3.47, patched in 1.3.47. It is rated high (CVSS 4.0 7.3) and filed under CWE-455, a process that keeps running after its setup goes wrong. The server lets an assistant run AWS CLI commands through a call_aws tool, and an optional policy file can block commands outright (denyList) or require the user's consent first (elicitList).

How does AWS API MCP Server 1.3.47 fix CVE-2026-16584?

The fix is pull request 4315 in awslabs/mcp, "Security Policy Bypass via Startup Initialization Failure", merged July 22, 2026, and PyPI shows 1.3.47 uploaded the same day. The changelog entry reads: fail closed when security policy enforcement data cannot be initialized at startup.

Why should an MCP server's safety checks fail closed?

A policy that only applies when its supporting data loaded is a policy that can disappear quietly. A warning line in a log is easy to miss, and the server still answers every tool call normally, so neither the user nor the client sees that the guard is gone.

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 any AWS CLI command on my denyList or elicitList through the AWS API MCP Server, ask me to approve that exact command and wait for my yes or no.”

One-click setup

{
  "tool": "request_human_approval",
  "arguments": {
    "action": {
      "tool": "call_aws",
      "mcp_server": "awslabs.aws-api-mcp-server",
      "server_version": "1.6.1",
      "cli_command": "aws iam create-access-key --user-name <user name>"
    },
    "summary": "Create one IAM access key through the AWS API MCP Server",
    "expires_in_minutes": 30
  }
}

Rightshold isn't affiliated with AWS or the awslabs/mcp project. It doesn't scan MCP server code, read your security policy file or check IAM permissions, and an approval record isn't a finding that a call is safe. Advisory details are as published by AWS (GHSA-29w2-fq35-v728), the fix as described in pull request 4315 and the project's changelog, the startup behaviour as written in the server's source at that commit, settings as described in the project's README, and release dates as listed on PyPI, all read November 23, 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}}'