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

Published Apr 21, 2026
·
Updated

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.

Other sources

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 ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2026-5059.

ZDI

Affected Software

2 affected components
aws-mcp-server
aws-mcp-server aws-mcp-server

Event History

Apr 11, 2026
Advisory Published
via ZDI·01:00 AM
Data Sourced
via ZDI·01:00 AM
SeverityAffected Software
Apr 21, 2026
Advisory Published
via ZDI·05:00 AM
Data Sourced
via ZDI·05:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-26-245?

ZDI-26-245 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix ZDI-26-245?

To fix ZDI-26-245, update the aws-mcp-server software to the latest version provided by the vendor.

3

What are the consequences of exploiting ZDI-26-245?

Exploiting ZDI-26-245 allows remote attackers to execute arbitrary code on affected systems without authentication.

4

Which versions of aws-mcp-server are affected by ZDI-26-245?

All versions of aws-mcp-server are potentially affected by the ZDI-26-245 vulnerability.

5

Is authentication required to exploit ZDI-26-245?

No, authentication is not required to exploit the ZDI-26-245 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203