# CVE-2026-11393: Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import

- Severity: High 8.8 (CVSS:4.0, scored by AMZN) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-06-08T18:38:03.960Z
- Modified: 2026-07-29T16:15:30.310Z
- Also known as: GHSA-m4x6-gwgp-4pm7
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- AWS AgentCore CLI: from 0.4.0 up to 0.14.1; from 0.3.0-preview.7.0 up to 1.0.0-preview.8
- @aws/agentcore (npm): from 0.4.0 before 0.14.2; from 0.3.0-preview.7.0 up to 0.3.0-preview.9.0; from 1.0.0-preview.1 before 1.0.0-preview.9

## Every score

- AMZN: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- AMZN: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: CVSS:3.1 9.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## References

- <https://github.com/aws/agentcore-cli/releases/tag/v0.14.2> (patch, web)
- <https://www.npmjs.com/package/@aws/agentcore/v/0.14.2> (patch, web)
- <https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9> (patch, web)
- <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, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-11393> (advisory)
- <https://github.com/aws/agentcore-cli/pull/1329> (web)
- <https://github.com/aws/agentcore-cli/commit/ae1b932ec91bacdbb7a3521f9f1fc24479a3d504> (web)
- <https://aws.amazon.com/security/security-bulletins/2026-040-aws> (web)
- <https://github.com/aws/agentcore-cli> (package)

## Sources

- CVE List: [CVE-2026-11393](https://www.cve.org/CVERecord?id=CVE-2026-11393), CVE Terms of Use, modified 2026-06-08
- GitHub Advisory Database: [GHSA-m4x6-gwgp-4pm7](https://github.com/advisories/GHSA-m4x6-gwgp-4pm7), CC-BY-4.0, modified 2026-07-29
- NVD: [CVE-2026-11393](https://nvd.nist.gov/vuln/detail/CVE-2026-11393), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-11393 · Whole record: https://cve.day/CVE-2026-11393.json · Rebuilt by cve.day 2026-11-25T22:59:24.022Z
