# CVE-2026-11393: AWS AgentCore CLI code injection in Bedrock Agent import

Source: https://junglewise.ai/threats/cve-2026-11393-aws-agentcore-cli-code-injection-in-bedrock-agent-import  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-08. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-11393 · Severity: critical · CVSS 9 · Published 2026-06-08

AWS AgentCore CLI is a command-line tool used to manage Bedrock agents for generative AI applications. A code injection vulnerability in the Bedrock Agent Import feature allows an attacker to execute arbitrary code by exploiting improper escaping of triple-quoted strings. This could enable an attacker to compromise systems running the CLI and access sensitive AI agent configurations and resources.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon), [AWS](https://junglewise.ai/threats/vendors/aws), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-11393 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-11393 being exploited in the wild.

**How severe is CVE-2026-11393?** Critical severity, with a CVSS score of 9, published 8 June 2026.

**Which products and versions are affected?** AWS Agentcore >= 0.4.0, < 0.14.2; >= 0.3.0-preview.7.0, <= 1.0.0-preview.8; >= 1.0.0-preview.1, < 1.0.0-preview.9; AWS AgentCore CLI >= 0.4.0, <= 0.14.1; preview versions >= 0.3.0-preview.7.0, <= 1.0.0-preview.8; @aws/agentcore (npm) SEMVER:introduced=0.4.0,fixed=0.14.2.

**Is there a fix for CVE-2026-11393?** Yes. @aws/agentcore (npm): upgrade to 0.14.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-11393 attacked?** It is attacked with local access, in a hosted service.

**Am I affected by CVE-2026-11393?** Check whether you run Amazon AWS, AWS Agentcore, AWS AgentCore CLI or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @aws/agentcore (npm): upgrade to 0.14.2 or later

  ```sh
  npm install @aws/agentcore@0.14.2
  ```


## Technical details

The vulnerability is a code injection flaw in AWS AgentCore CLI's Bedrock Agent Import feature, caused by improper escaping of triple-quoted strings in agent configuration data. The vulnerable component processes user-supplied agent definitions without adequately sanitizing triple-quote delimiters, allowing injection of arbitrary code that gets executed during the import process. Attack vector is local via CLI invocation with a specially crafted agent import file; no authentication bypass or network access is required beyond initial CLI access. An attacker with the ability to provide or modify agent import files can execute arbitrary code with the privileges of the user running the CLI, potentially compromising credentials, exfiltrating agent data, or modifying AI agent configurations. AWS has published a security bulletin (2026-040-aws) addressing this issue; users should update AgentCore CLI to the patched version.

## Affected products

- AWS AgentCore CLI <UNKNOWN>

## Identifiers

- CVE-2026-11393
- GHSA-m4x6-gwgp-4pm7

## Timeline

- 2026-09-22: disclosed: CVE-2026-11393 disclosed in AWS Security Bulletin 2026-040-aws

## References

- [https://aws.amazon.com/security/security-bulletins/rss/2026-040-aws/](https://aws.amazon.com/security/security-bulletins/rss/2026-040-aws/)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
