Security mailing lists by PureSourceCode

CVE-2026-5059

CRITICAL 9.8CVSS 3.0

aws-mcp has a Command Injection Remote Code Execution Vulnerability

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.

Published
11 Apr 2026
Last modified
27 Oct 2026
Assigned by
zdi-disclosures@trendmicro.com
NVD status
Awaiting Analysis
Weakness
CWE-78
Also known as
GHSA-fgmx-xfp3-w28pPYSEC-2026-288
Sources
NVDJSONOSV GHSA-fgmx-xfp3-w28pJSONOSV PYSEC-2026-288JSON

Scores

SourceScored byVersionScoreVector / decision
NVD zdi-disclosures@trendmicro.com (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI aws-mcp <= 1.7.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.