Home

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.

PUBLISHED Reserved 2026-06-05 | Published 2026-06-08 | Updated 2026-06-08 | Assigner AMZN




CRITICAL: 9.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

HIGH: 8.8CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

0.4.0 (custom)
affected

0.3.0-preview.7.0 (custom)
affected

References

github.com/aws/agentcore-cli/releases/tag/v0.14.2 patch

www.npmjs.com/package/@aws/agentcore/v/0.14.2 patch

www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9 patch

aws.amazon.com/security/security-bulletins/2026-040-aws/ vendor-advisory

github.com/...re-cli/security/advisories/GHSA-m4x6-gwgp-4pm7 third-party-advisory

cve.org (CVE-2026-11393)

nvd.nist.gov (CVE-2026-11393)

Download JSON