CVE-2026-11393Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @aws/agentcore | Fixed | 1.0.0-preview.9 | GHSA-m4x6-gwgp-4pm7 |
What the vendor says
As published in the CVE record by AMZN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- AWS AgentCore CLI: affected: 0.4.0 to 0.14.1, 0.3.0-preview.7.0 to 1.0.0-preview.8
Vendor advisories:
- 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)
References
- https://github.com/aws/agentcore-cli/releases/tag/v0.14.2
- https://www.npmjs.com/package/@aws/agentcore/v/0.14.2
- https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9
- https://aws.amazon.com/security/security-bulletins/2026-040-aws/
- https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.