Skip to content
LatestPillow CVE-2026-112897 leaks heap memory via crafted TIFF images
Vulnerabilities

AWS API MCP Server CVE-2026-16584 Grants Access on Init Fail; Patch 1.3.47 Fixes

A bug in the open-source server allows attackers to bypass security policies if initialization fails, granting unauthorized access until restart.

Illustration: A sleek black server chassis sits open on a workbench, its internal circuitry exposed and tangled.
AI-generated illustration: RedTeam Log

Key points

  • CVE-2026-16584 allows bypass of optional security policies in AWS API MCP Server.
  • The flaw occurs when policy data fails to load during server startup.
  • Version 1.3.47 fixes the issue; restarting the server is a temporary workaround.

An attacker exploiting a flaw in the AWS API MCP Server can execute cloud operations that security policies were meant to block. This occurs when the server fails to load its policy enforcement data during startup. According to AWS Security Bulletins, the server continues running but skips per-request policy checks for the entire process lifetime.

In plain English

The AWS API MCP Server is an open-source tool allowing AI assistants to run AWS CLI commands. It includes an optional security policy to deny or gate specific operations. The vulnerability, identified as CVE-2026-16584, arises when this policy data fails to initialize. Instead of stopping or enforcing a default secure state, the server proceeds without checking policies.

The background

AWS published bulletin 2026-063-AWS on 23 July 2026 regarding this important security issue. The problem affects the awslabs.aws-api-mcp-server project. If a security policy is configured without fail-closed modes, an actor could trigger operations that should have been denied. IAM permissions on the credentials remain unaffected by this specific bypass.

What changes now

AWS has released version 1.3.47 of the server, which addresses CVE-2026-16584. Users are advised to upgrade to this latest version immediately. Any forked or derivative code must also be patched to incorporate these new fixes. Until upgrades are complete, users should apply the temporary mitigations provided by the vendor.

The attacker's path

Security teams should treat startup failures in policy-enforcement tools as critical events. When initialization errors occur, systems often default to open states, bypassing intended controls. Attackers look for these transient windows to execute commands before restarts. Monitor logs for initialization errors and ensure processes fail securely rather than running with reduced security. Check whether your deployment handles load failures by halting operations or enforcing strict defaults. Verify that automated restarts do not silently skip policy validation steps. Ensure monitoring alerts trigger on any deviation from expected startup sequences.

Background: Unauthorized access

Disconnect affected devices from the network immediately to stop data exfiltration. Preserve system logs and memory states before restarting. Identify the entry point and revoke compromised credentials. Notify relevant stakeholders using your incident communication plan. Restore systems from verified clean backups.

Read the full guide: Unauthorized Access Response: Containment, Recovery and Prevention Steps

What to do and how to stay safe: AWS

  • Upgrade to awslabs.aws-api-mcp-server version 1.3.47 to apply the official fix.
  • Use least-privilege IAM credentials, such as a ReadOnlyAccess role, scoped to specific tasks.
  • Restart the server immediately if connectivity was degraded during startup to reload policy data.
  • Ensure any custom forks of the server are patched with the new security fixes.

Step-by-step guide: Emergency Patching: Correcting Five Common Operational Errors

General security guidance from the RedTeam Log newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What is CVE-2026-16584?

It is a security policy bypass in the AWS API MCP Server that occurs when policy data fails to load during startup.

Does this affect IAM permissions?

No, IAM permissions on the configured credentials remain in effect and are unaffected by this issue.

How can I mitigate this before upgrading?

You can use least-privilege IAM credentials or restart the server once connectivity is restored to reload policy data.

Sources

  1. AWS Security Bulletins
AWSCVE-2026-16584AWS API MCP Serversecurity policy bypassopen source

Related stories