Skip to content
OpenAdvisories
Critical · 9.0 CVE-2026-11393 EUVD-2026-35187GHSA-m4x6-gwgp-4pm7

Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import

Published Jun 8, 2026 · Updated Jun 8, 2026 · Assigned by AMZN

Description

Improper neutralization of triple-quote characters during Python code generation in AgentCore CLI before v0.14.2 might allow an authenticated remote threat actor to execute arbitrary code on AWS AgentCore Runtime under the imported agent's IAM execution role and on the local environment of another user in the same AWS account, via a crafted collaborationInstruction stored on a Bedrock Agent collaborator and later processed by that other user during agent import.

To remediate this issue, users should upgrade to version 0.14.2.

Affected products

VendorProductAffectedFixed
AWS AgentCore CLI 0.4.0 – ≤ 0.14.1, 0.3.0-preview.7.0 – ≤ 1.0.0-preview.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @aws/agentcore >= 0.4.0, < 0.14.2 0.14.2 GHSA-m4x6-gwgp-4pm7
npm @aws/agentcore >= 0.3.0-preview.7.0, <= 0.3.0-preview.9.0 — GHSA-m4x6-gwgp-4pm7
npm @aws/agentcore >= 1.0.0-preview.1, < 1.0.0-preview.9 1.0.0-preview.9 GHSA-m4x6-gwgp-4pm7

References