Upgrade awslabs.aws-api-mcp-server to 1.6.0 and set AUTH_AUDIENCE

AWS API MCP Server accepted OAuth tokens issued to other apps · Security incident · Web · awscloud · Oct 27, 2026

What happened

AWS bulletin 2026-152-AWS (27 Oct) says versions 1.3.0 to below 1.6.0 of the AWS API MCP Server, when run over streamable-http with OAuth, checked a token's signature, issuer and expiry but not which application it was issued for. A token the same identity provider issued to another app in the tenant was accepted, which could allow AWS API calls with the credentials configured on the host. Fixed in 1.6.0; AWS says the default stdio transport is the workaround.

How to prevent it

Any MCP server that can touch your cloud account should run locally over stdio unless you truly need it remote, check token audience, and hold only least-privilege credentials.

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 API MCP Server with my AI assistant. Help me fix CVE-2026-115413: 1) Check which version of awslabs.aws-api-mcp-server I run and whether I use the streamable-http transport with AUTH_TYPE=oauth. 2) Give me the command to upgrade to 1.6.0 or later. 3) Help me set AUTH_AUDIENCE (or AUTH_CLIENT_ID for Cognito) so only tokens issued for this server are accepted. 4) Check the AWS credentials on that host have the smallest permissions possible.

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.