Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
ai-platform-securitycloud-service-vulnerabilityinternet-facing-service-vulnerabilitywidely-deployed-product-advisory

AWS MCP Server Flaws Expose File Read and Remote Code Execution Risks

Updated 13d agoFirst seen Mar 17, 20267 sources

Researchers disclosed multiple security flaws affecting AWS MCP components, including a local file inclusion bug in the AWS Remote MCP Server and a critical command injection issue in aws-mcp-server. Varonis said authenticated users could abuse AWS CLI shorthand syntax, specifically the @= operator passed through the aws___call_aws tool, to read arbitrary files from the underlying host even when FileAccessMode=NO_ACCESS was enabled. AWS assigned CVE-2026-4270 to the file access restriction bypass and said the issue was fixed in aws-api-mcp-server version 1.3.9; the exposure affected the public endpoint aws-mcp.us-east-1.api.aws as well as self-hosted or forked deployments.

A separate flaw, tracked as CVE-2026-5058 and published by Trend Micro's Zero Day Initiative as ZDI-26-246, allows unauthenticated remote code execution in aws-mcp-server because user-supplied input in the allowed-commands list is not properly validated before being used in a system call. ZDI rated the bug CVSS 9.8 and said successful exploitation lets attackers run arbitrary code in the MCP server context; the advisory was released as a 0-day after the vendor rejected the report. The disclosures landed alongside another AWS bulletin for CVE-2026-4269, an improper S3 ownership verification issue in the Bedrock AgentCore Starter Toolkit, underscoring broader security concerns around MCP-related tooling and the need for immediate patching and review of derivative implementations.

Share:
AWS MCP Server Flaws Expose File Read and Remote Code Execution Risks
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

9 events from the most recent confirmed update back to the earliest known activity.

9 EVENTS
Apr 11, 20263mo ago

CVE record published for aws-mcp-server command injection

A CVE entry for CVE-2026-5058 was published, describing the aws-mcp-server command injection vulnerability as leading to unauthenticated remote code execution. The record linked the issue to ZDI-CAN-27968 and ZDI-26-246.

CVE-2026-5058 - aws-mcp-server Command Injection Remote Code Execution Vulnerability
Apr 10, 20263mo ago

ZDI publishes aws-mcp-server flaw CVE-2026-5059 as zero day

ZeroPath reports that ZDI disclosed a separate unauthenticated command injection flaw in the community-maintained aws-mcp-server, tracked as CVE-2026-5059 and advisory ZDI-26-245, after reporting it in September 2025 and vendor rejection in December 2025. The issue affects version 1.3.0, can enable full remote code execution, and had no patch available at the time.

Brief Summary: CVE-2026-5059 - Unauthenticated Command Injection in aws-mcp-server Enables Full Remote Code Execution - ZeroPath Blog | ZeroPath
Mar 30, 20263mo ago

ZDI publishes aws-mcp-server flaw as 0-day after vendor rejection

After multiple follow-ups and vendor rejection, Zero Day Initiative published ZDI-26-246 for the aws-mcp-server command injection flaw as a 0-day advisory. The vulnerability, later tracked as CVE-2026-5058, allows unauthenticated remote code execution in the context of the MCP server.

ZDI-26-246 | Zero Day Initiative
Mar 25, 20263mo ago

AWS fixes CVE-2026-4270 in aws-api-mcp-server 1.3.9

AWS fixed the file inclusion issue tracked as CVE-2026-4270 in aws-api-mcp-server version 1.3.9. Varonis noted the flaw could expose sensitive files, credentials, secrets, and execution-environment details, and recommended immediate upgrades.

Varonis Discovers Local File Inclusion in AWS Remote MCP Server via CLI Shorthand Syntax

Varonis discloses LFI in AWS Remote MCP Server

Varonis Threat Labs disclosed a local file inclusion vulnerability in the AWS Remote MCP Server caused by AWS CLI shorthand syntax and the `@=` operator passing through the `aws___call_aws` tool. The issue allowed authenticated users to read arbitrary files from the server and was assigned CVE-2026-4270.

Varonis Discovers Local File Inclusion in AWS Remote MCP Server via CLI Shorthand Syntax
Mar 16, 20263mo ago

Proofpoint discloses CursorJack deeplink exploitation technique

Proofpoint Threat Research described 'CursorJack,' a proof-of-concept technique abusing Cursor IDE's cursor:// MCP deeplink installation flow to socially engineer users into approving malicious MCP server installs. In controlled tests, the chain could lead to arbitrary command execution with the user's privileges or installation of a malicious remote MCP server after user interaction.

CursorJack: weaponizing Deeplinks to exploit Cursor IDE | Proofpoint US

AWS publishes advisory for CVE-2026-4269

AWS published a security bulletin for CVE-2026-4269 covering improper S3 ownership verification in the Bedrock AgentCore Starter Toolkit. This made the vulnerability publicly known through an AWS product advisory.

CVE-2026-4269 - Improper S3 ownership verification in Bedrock AgentCore Starter Toolkit

AWS publishes advisory for CVE-2026-4270

AWS published a security bulletin for CVE-2026-4270, identified as an AWS API MCP file access restriction bypass. The advisory marks public disclosure of the issue by AWS.

CVE-2026-4270 - AWS API MCP File Access Restriction Bypass
Dec 14, 20256mo ago

ZDI reports aws-mcp-server command injection to vendor

Trend Micro's Zero Day Initiative reported a command injection remote code execution vulnerability in aws-mcp-server, tracked as ZDI-CAN-27968 and later CVE-2026-5058, to the vendor in September 2025. The issue involved improper validation of a user-supplied string in the allowed commands list before use in a system call.

ZDI-26-246 | Zero Day Initiative
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

9 LINKEDOpen in app
Affected products
3 linked
Aws Command Line InterfaceAmazon Simple Storage ServiceBedrock Agentcore Starter Toolkit
Organizations
3 linked
Trend MicroAmazon Web ServicesVaronis
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

AWS MCP Server Flaws Expose File Read and Remote Code Execution Risks | Mallory