Skip to content
CriticalVulnerability

CVE-2026-5059: aws-mcp-server AWS CLI command injection through allowed commands list

Identifier
CVE-2026-5059
Published
Record updated
View JSON

Summary

CVE-2026-5059 affects aws-mcp-server, an MCP server that exposes AWS CLI commands. The flaw lies in how the server handles its allowed commands list: a user-supplied string is not properly validated before it is used in a system call. Remote attackers can exploit it without authentication to execute arbitrary code in the context of the MCP server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.