Body Background
TrendAI™ Zero Day Initiative™ Logo

(0Day) aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability

April 21st, 2026

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of aws-mcp-server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of the allowed commands list. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the MCP server.

Additional Details

09/03/25 – ZDI submitted the report to the vendor
10/27/25 – ZDI asked to confirm the receipt of the report
11/06/25 – ZDI asked for updates
12/14/25 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory
12/15/25 – The vendor rejected the vulnerability
02/20/26 – ZDI provided more information
03/09/26 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product


Disclosure Timeline

  • 2025-09-03 - Vulnerability reported to vendor
  • 2026-04-21 - Coordinated public release of advisory
  • 2026-04-21 - Advisory Updated

Credit

Alfredo Oliveira and David Fiser of Trend Research

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.