Skip to content

AAK-MCP-AWSAPIMCP-CVE-2026-16584-001: AWS API MCP Server security-policy bypass on init failure (from 0.2.13 below 1.3.47)

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
AwsApiMcpServerPolicyBypass

What it detects

The AWS API MCP Server (awslabs.aws-api-mcp-server) from 0.2.13 through 1.3.46 improperly handles a startup initialization failure: when the security policy enforcement data fails to initialize, the policy check is skipped for the entire lifetime of the process, so an actor can execute AWS API operations the user-configured policy was set to deny or gate. The IAM permissions on the configured credentials still apply, but the extra deny/gate layer the operator relied on is silently absent (CVE-2026-16584, CVSS 7.0). Fixed in 1.3.47; treat 0.2.13–1.3.46 (and unpinned) as exposed.

How to fix

Upgrade awslabs.aws-api-mcp-server to >= 1.3.47 and pin it. Fail the server closed when security-policy initialization fails rather than continuing with policy enforcement disabled, and scope the configured IAM credentials to the minimum operations required.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-AWSAPIMCP-CVE-2026-16584-001

Limitations

Reads awslabs.aws-api-mcp-server in requirements*.txt at any depth and, at the project root only, in pyproject.toml, Pipfile, package.json, .mcp.json, mcp.json, claude_desktop_config.json and the Pipfile.lock, poetry.lock, uv.lock, package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles, reporting a range that admits an affected version and a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (services/api/pyproject.toml), in .cursor/mcp.json or .vscode/mcp.json, or in a lockfile format the reader does not parse (pdm.lock). A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-AWSAPIMCP-CVE-2026-16584-001.md: the page then shows that text, with the registry reference appended under it.