← All advisories

CVE-2026-125271highUnsafe agent actions2026-11-10

CVE-2026-125271: AWS API MCP Server did not enforce custom security policy denyList and elicitList entries for AWS operations whose names contain consecutive capital letters, letting the AI assistant run them (fixed 1.5.1)

AWS API MCP Server (awslabs.aws-api-mcp-server) lets AI assistants manage AWS accounts through AWS API calls, and operators can restrict it with a custom security policy that denies operations or requires elicitation (user confirmation) first. From 0.2.13 before 1.5.1, the server normalized operation names incorrectly before comparing them to the policy, so denyList and elicitList entries were not enforced for operations whose names contain consecutive capital letters. The AI assistant could then run operations the operator meant to block, such as creating a federated identity provider, deactivating an MFA device or deleting database clusters. Fixed in 1.5.1.

01.

What it is

Affected: awslabs.aws-api-mcp-server (PyPI) 0.2.13 up to (not including) 1.5.1, only when run locally with a custom security policy listing affected operations, and with user interaction with the AI assistant.

Not affected: the remote AWS API MCP Server offering, and the READ_OPERATIONS_ONLY and REQUIRE_MUTATION_CONSENT settings.

awslabs.aws-api-mcp-server 1.5.1 was uploaded to PyPI on 10 August 2026; AWS published the advisory (bulletin 2026-176-AWS, CWE-863/CWE-1025) and NVD published the CVE on 10 November 2026. AWS says there is no workaround other than upgrading.

02.

How to check

  1. Check the version your MCP client runs (uvx awslabs.aws-api-mcp-server@<version> or pip show awslabs.aws-api-mcp-server): below 1.5.1 is affected.
  2. If you rely on a custom security policy, check it for operations with consecutive capitals (for example names containing SAML, MFA, DB or IAM) and review CloudTrail for those calls made through the server's credentials.
03.

How to fix

  1. Upgrade awslabs.aws-api-mcp-server to 1.5.1 or later (pin the version in your MCP config so uvx doesn't reuse a cached copy).
  2. Don't rely on the server's policy alone: give its AWS credentials least-privilege IAM permissions so dangerous operations are denied by AWS itself.
  3. Use READ_OPERATIONS_ONLY or REQUIRE_MUTATION_CONSENT where possible.
pip show awslabs.aws-api-mcp-server | grep -i version
# MCP config: "command": "uvx", "args": ["[email protected]"]
04.

Sources

Related on VibeVulns
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.