CVE-2026-11393
Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import
- State
- Published
- Severity
- 8.8 High
- Published
- Jun 8, 2026
- Updated
- Jun 8, 2026
- Reserved
- Jun 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.8 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | AMZN |
| 3.1 | 9.0 Critical | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | AMZN |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
AgentCore CLIAWS |
|
References
- https://github.com/aws/agentcore-cli/releases/tag/v0.14.2patch
- https://www.npmjs.com/package/@aws/agentcore/v/0.14.2patch
- https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9patch
- https://aws.amazon.com/security/security-bulletins/2026-040-aws/vendor-advisory
- https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.