CriticalVulnerability
CVE-2026-5058: aws-mcp-server command injection via allowed commands list
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-5058
- Published
- Record updated
Summary
CVE-2026-5058 is a command injection flaw in aws-mcp-server that allows remote attackers to execute arbitrary code on affected installations without authentication. The flaw lies in the handling of the allowed commands list, which fails to validate a user-supplied string before using it in a system call, letting an attacker run code in the context of the MCP server.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- HighCVE-2026-142134 - Uncontrolled search path element in the workflow linting tools in AWS HealthOmics MCP ServerSame vendor, AWS Security Bulletins
- HighCVE-2026-142134: AWS HealthOmics MCP Server uncontrolled search path in workflow linting toolsSame vendor, NVD/CVE Database
- LowCVE-2026-59336: spring-ai-bedrock-converse SSRF via media URLs in multi-modal chat requestsSame vendor, NVD/CVE Database
- HighIssue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935)Same vendor, AWS Security Bulletins
- HighCVE-2026-137935: Language Servers for AWS workspace boundary check via crafted symbolic linkSame vendor, NVD/CVE Database