CVE-2026-115845: AWS MCP Server incomplete validation in run_script sandbox

CVE-2026-115845 · Severity: high · CVSS 6.4 · Published 2026-10-23

AWS MCP Server is a managed service that allows AI agents to execute Python scripts against AWS services. An incomplete validation in the Python code sandbox allows authenticated users to bypass execution restrictions and run arbitrary code within their isolated session, potentially gaining unauthorized access to AWS resources or data available in that session.

Technologies: Amazon AWS. Vendors: Amazon, AWS.

Quick answers

Is CVE-2026-115845 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-115845 being exploited in the wild.
How severe is CVE-2026-115845?
High severity, with a CVSS score of 6.4, published 23 October 2026.
Which products and versions are affected?
AWS MCP Server.
Is there a fix for CVE-2026-115845?
No fixed version is recorded yet. The run_script tool is designed to orchestrate AWS APIs through Python scripts. If used only for legitimate AWS API calls without executing untrusted or user-supplied code, no workaround is required; restrict use of the run_script tool to trusted scripts only. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-115845 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-115845?
Check whether you run Amazon AWS or AWS MCP Server. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

The run_script tool is designed to orchestrate AWS APIs through Python scripts. If used only for legitimate AWS API calls without executing untrusted or user-supplied code, no workaround is required; restrict use of the run_script tool to trusted scripts only.

Technical details

The run_script tool in AWS MCP Server uses a Python code validator to block dangerous operations in a sandboxed environment. An incomplete blocklist of disallowed inputs allows an authenticated remote attacker to craft malicious Python scripts that bypass the sandbox restrictions and execute arbitrary code within their isolated session environment.

Affected products

  • AWS MCP Server

Timeline

  • 2026-10-23: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.