CVE-2026-5058

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

aws-mcp-server 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-27968.

Metrics

CVSS 3.0 9.8/10CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Apr 11, 2026
Last modified
Jun 17, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-505897.5In OpenStack Ironic 32 before 37.0.0, an unauthenticated malicious user could submit a crafted JSON string to some endpoints on the API or JCVE-2026-50599.8aws-mcp-server AWS CLI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrarCVE-2026-505904.5In Mimecast Incydr before 2.6.0, arbitrary file access can occur.CVE-2026-505915.4In Znuny LTS before 6.5.21 and Znuny before 7.3.3, XSS can occur via stored user preferences.CVE-2026-505926.4In Znuny LTS before 6.5.21 and Znuny before 7.3.3, there is reflected XSS in AdminCommunicationLog (aka the communication log administratiCVE-2026-505937.3Graphite before 1.3.15 has an integer underflow and resultant out-of-bounds write via Graphite actions, because slotat does not ensure that CVE-2026-50606.5The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Insecure Direct Object ReferenCVE-2026-506016.6A security vulnerability has been identified in the Planet9 desktop application where a hardcoded read-only API key permitted unauthorized aCVE-2026-506028.5A security vulnerability has been identified in Planet9 due to incorrect file permissions assigned to an application executable used by the CVE-2026-506034.9A vulnerability has been identified in the Acer Agent Service component included with NitroSense and PredatorSense. The vulnerability is cauCVE-2026-506044.9A vulnerability has been identified in the Acer Agent Service component included with NitroSense and PredatorSense. The socket handshake proCVE-2026-506057.4A vulnerability has been identified in the Acer Agent Service component included with NitroSense and PredatorSense. Insufficient access cont
CVE-2026-5058: Critical severity, CVSS 9.8 | Vulnix