Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @aws/agentcore
  4. ›
  5. CVE-2026-11393

CVE-2026-11393: AgentCore CLI Bedrock Agent Import Vulnerable to Code Injection via Improper Triple-Quote Escaping

July 29, 2026

The AgentCore CLI (@aws/agentcore) is a developer tool for managing agent infrastructure lifecycle on Amazon Bedrock AgentCore. An issue exists where, under certain circumstances, a crafted collaborationInstruction value stored in Bedrock Agent collaborator metadata can break out of a Python triple-quoted string in code generated by the agentcore add agent --type import command, resulting in arbitrary code execution when the generated file is loaded or deployed.

References

  • aws.amazon.com/security/security-bulletins/2026-040-aws
  • github.com/advisories/GHSA-m4x6-gwgp-4pm7
  • github.com/aws/agentcore-cli/commit/ae1b932ec91bacdbb7a3521f9f1fc24479a3d504
  • github.com/aws/agentcore-cli/pull/1329
  • github.com/aws/agentcore-cli/releases/tag/v0.14.2
  • github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7
  • nvd.nist.gov/vuln/detail/CVE-2026-11393
  • www.npmjs.com/package/@aws/agentcore/v/0.14.2
  • www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9

Code Behaviors & Features

Detect and mitigate CVE-2026-11393 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.3.0-preview.7.0 up to 0.3.0-preview.9.0, all versions starting from 0.4.0 before 0.14.2, all versions starting from 1.0.0-preview.1 before 1.0.0-preview.9

Fixed versions

  • 0.14.2
  • 1.0.0-preview.9

Solution

Upgrade to versions 0.14.2, 1.0.0-preview.9 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@aws/agentcore/CVE-2026-11393.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.