p PatchFirst

CVE-2026-5059

CVE-2026-5059 · aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability. 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. Was ZDI-CAN-27969.

CVSS 9.8 · Critical · EPSS 1.9%

Published
Updated

Stack: python

Affected products and versions

  • aws-mcp-server

    Versions
    • 1.3.0: Affected

    No fix published

  • aws-mcp PyPI

    Versions
    • 1.5.4
    • 1.5.5
    • 1.5.6
    • 1.6.0
    • 1.7.0
    Affected ranges
    • ECOSYSTEM: ≤ 1.7.0

    No fix published

Original sources

Check your server →