CVE-2026-11393 Details
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.
A code injection vulnerability has been identified in the AWS AgentCore CLI, specifically in versions 0.4.0 through 0.14.1 and certain preview versions. The issue arises from improper handling of triple-quote characters during Python code generation, which could allow an authenticated user to execute arbitrary code on their local environment or within the AWS AgentCore Runtime. This vulnerability is exploited by crafting a collaborationInstruction value that, when processed by the CLI, injects code into the main.py file of an imported agent. The injected code is executed with the permissions of the agent's IAM role or the developer's local AWS credentials, depending on the context.
Upgrade to AWS AgentCore CLI version 0.14.2 or 1.0.0-preview.9. After upgrading, remove the affected agent from your project, re-import it using the patched CLI, and redeploy it to AWS. If an immediate upgrade is not possible, manually inspect the generated main.py file for any collaboratorInstruction values containing triple double-quote sequences and replace them with escaped equivalents before running or deploying the agent.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | AMZN |
Affected Products
No affected product data is available for this CVE.
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | AMZN |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 8, 2026 | New CVE Received | AMZN |