Vulnerability · Published Jun 8, 2026 · Assigned by AMZN
CVE-2026-11393Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import
Critical 9.0
In plain English
A critical-severity code injection in AgentCore CLI from AWS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @aws/agentcore | 0.14.2 | GHSA-m4x6-gwgp-4pm7 |
| npm | @aws/agentcore | no fix listed | GHSA-m4x6-gwgp-4pm7 |
| npm | @aws/agentcore | 1.0.0-preview.9 | GHSA-m4x6-gwgp-4pm7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AWS | AgentCore CLI | 0.4.0 – through 0.14.10.3.0-preview.7.0 – through 1.0.0-preview.8 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/aws/agentcore-cli/releases/tag/v0.14.2 patch
- https://www.npmjs.com/package/@aws/agentcore/v/0.14.2 patch
- https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9 patch
- https://aws.amazon.com/security/security-bulletins/2026-040-aws/ vendor-advisory
- https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7 third-party-advisory