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.
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.
How to check
- 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.
- 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.
How to fix
- 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).
- 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.
- 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]"] Sources
- criticalCVE-2026-87911: AWS postgres-mcp-server's read-only mode can be bypassed to run OS commands
- highCVE-2026-142134: AWS HealthOmics MCP Server ran its workflow linters inside the workflow bundle's folder, so a crafted bundle could shadow Python modules and run code (fixed 0.1.10)
- mediumCVE-2026-135614: Amazon ECS MCP Server's troubleshooting tool returned cleartext task-definition environment variables and secret references despite the redaction setting, reachable through prompt injection (fixed 0.1.36)
- mediumCVE-2026-130901: AWS Labs Document Loader MCP Server skipped its base-directory restriction when CI or test environment variables were set, letting crafted documents read files outside it and write PNG slides elsewhere (fixed 1.0.21)