{"id":"GHSA-m4x6-gwgp-4pm7","revision":null,"records":[{"revision":"59eff9c1cd7f4e759ef0de65c58a5a55","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-11393","aliases":[],"title":"Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import","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.\n\n\n\nTo remediate this issue, users should upgrade to version 0.14.2.","state":0,"publishedAt":"2026-06-08T18:38:03.96+00:00","modifiedAt":"2026-06-08T19:45:58.413+00:00","affected":[{"ecosystem":"Vendor product","name":"AgentCore CLI","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"AWS\",\n                    \"product\": \"AgentCore CLI\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.4.0\",\n                            \"lessThanOrEqual\": \"0.14.1\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.3.0-preview.7.0\",\n                            \"lessThanOrEqual\": \"1.0.0-preview.8\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"severity":"CRITICAL"},{"system":"CVSS 4.0","vector":"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","score":8.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-11393","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-11393","identifiers":["CVE-2026-11393"]},"retained":false,"historicalAffected":[]},{"revision":"f268b9eb3a6f46329fb07567a92130c3","observedAt":"2026-11-23T13:25:40.647+00:00","statement":{"source":"euvd","id":"EUVD-2026-35187","aliases":["CVE-2026-11393","GHSA-m4x6-gwgp-4pm7"],"title":"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 …","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.\n\n\n\nTo remediate this issue, users should upgrade to version 0.14.2.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":8.8,"severity":null}],"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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-35187","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 8, 2026, 6:38:03 PM","dateUpdated":"Jun 8, 2026, 7:45:58 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-35187","identifiers":["EUVD-2026-35187","CVE-2026-11393","GHSA-m4x6-gwgp-4pm7"]},"retained":false,"historicalAffected":[]},{"revision":"acb343f61bd944ba8a28a21cf07b8868","observedAt":"2026-10-25T05:17:18.597+00:00","statement":{"source":"nvd","id":"CVE-2026-11393","aliases":[],"title":"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 …","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.\n\n\n\nTo remediate this issue, users should upgrade to version 0.14.2.","state":0,"publishedAt":"2026-06-08T19:16:41.27+00:00","modifiedAt":"2026-07-23T08:10:00.137+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · ff89ba41-3aa1-4d27-914a-91399e9639e5 · Secondary","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":8.8,"severity":"HIGH"},{"system":"CVSS 3.1 · ff89ba41-3aa1-4d27-914a-91399e9639e5 · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"severity":"CRITICAL"}],"references":["https://aws.amazon.com/security/security-bulletins/2026-040-aws/","https://github.com/aws/agentcore-cli/releases/tag/v0.14.2","https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7","https://www.npmjs.com/package/@aws/agentcore/v/0.14.2","https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-11393","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-94"],"productCriteria":[],"sourceDates":{"published":"2026-06-08T19:16:41.270","lastModified":"2026-07-23T08:10:00.137"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-11393","identifiers":["CVE-2026-11393"]},"retained":false,"historicalAffected":[]},{"revision":"9e458c7f62fd4504b09151c531db2180","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-m4x6-gwgp-4pm7","aliases":["CVE-2026-11393"],"title":"AgentCore CLI Bedrock Agent Import Vulnerable to Code Injection via Improper Triple-Quote Escaping","description":"### Summary\nThe 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.\n\n### Impact\nWhen a user runs `agentcore add agent --type import` to import a Bedrock supervisor agent that has multi-agent collaboration enabled, the CLI fetches collaborator metadata from the Bedrock API and interpolates the collaborationInstruction field directly into a triple-quoted Python string in the generated main.py file of the imported agent. Due to insufficient escaping, a collaborationInstruction value containing triple double-quote characters can terminate the string boundary and inject arbitrary Python statements into the generated source file.\n\nAn authenticated AWS user in the same account with the bedrock:AssociateAgentCollaborator IAM permission can associate a collaborator agent carrying a crafted collaborationInstruction with a supervisor agent. A developer who subsequently imports that supervisor agent using an affected CLI version will have the injected code written to their local main.py of the imported agent. The injected code executes in\u00A0 two contexts: on the developer's local machine when running `agentcore dev`, under the developer's local AWS credentials; and in the AWS AgentCore Runtime environment when the developer runs `agentcore deploy` followed by agentcore invoke, under the agent's IAM execution role.\n\nCustomers who have already imported a supervisor agent using an affected version and deployed it to AWS remain exposed on every agent invocation until they regenerate and redeploy the agent using a patched CLI version.\n\n**Impacted versions:** @aws/agentcore >= 0.4.0 AND <= 0.14.1, preview >= 0.3.0-preview.7.0 AND <= 1.0.0-preview.8\n\n### Patches\nThis issue has been addressed in AgentCore CLI version 0.14.2 and preview version 1.0.0-preview.9. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\nCustomers who have previously run `agentcore add agent --type import` on an affected version must also remove the affected agent from their project, re-run the import with the patched CLI to regenerate a clean main.py for the imported agent, and redeploy their agent to AWS to replace the previously deployed artifact. Upgrading the CLI alone does not remediate already-generated or already-deployed code.\n\n### Workarounds\nIf an immediate upgrade is not possible, customers can manually inspect the generated main.py of the imported agent for any collaboratorInstruction values that contain triple double-quote character sequences and replace each occurrence with escaped equivalents before running `agentcore dev` or `agentcore deploy`.\n\n### References\nIf you have any questions or comments about this advisory, AWS asks that you contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.","state":0,"publishedAt":"2026-07-29T16:10:46+00:00","modifiedAt":"2026-07-29T16:15:30.3107814+00:00","affected":[{"ecosystem":"npm","name":"@aws/agentcore","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.4.0"},{"kind":"fixed","version":"0.14.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@aws/agentcore","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0-preview.7.0"},{"kind":"last_affected","version":"0.3.0-preview.9.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@aws/agentcore","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0-preview.1"},{"kind":"fixed","version":"1.0.0-preview.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7","https://nvd.nist.gov/vuln/detail/CVE-2026-11393","https://github.com/aws/agentcore-cli/pull/1329","https://github.com/aws/agentcore-cli/commit/ae1b932ec91bacdbb7a3521f9f1fc24479a3d504","https://aws.amazon.com/security/security-bulletins/2026-040-aws","https://github.com/aws/agentcore-cli","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"],"sourceUrl":"https://github.com/advisories/GHSA-m4x6-gwgp-4pm7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m4x6-gwgp-4pm7","identifiers":["GHSA-m4x6-gwgp-4pm7","CVE-2026-11393"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T17:27:41.4459340+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T17:27:41.445934+00:00","lastSuccessAt":"2026-11-23T17:27:41.6898545+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:41.6898546+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-1d24b1a69e2183157b839326f98b3e034f8a4de83f8cec6f5f44595d98df2adf","complete":true,"records":430815,"lastAttemptAt":"2026-11-23T17:25:41.3308921+00:00","lastSuccessAt":"2026-11-23T17:25:41.1725427+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:25:41.3308921+00:00","snapshotPublishedAt":"2026-11-23T17:23:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a417e3fd90604b6fb19012c48b8e56ed","complete":false,"records":13929,"lastAttemptAt":"2026-11-23T17:33:02.7435411+00:00","lastSuccessAt":"2026-11-23T17:33:02.8415423+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:33:02.8415423+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T17:27:41.4459340+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T17:27:41.445934+00:00","lastSuccessAt":"2026-11-23T17:27:41.6907183+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:41.6907184+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9ea35e3cdcec42138de800ee81101b48","complete":true,"records":13941,"lastAttemptAt":"2026-11-23T17:27:42.9443221+00:00","lastSuccessAt":"2026-11-23T17:27:42.94+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:42.94+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13977,"expectedIdentifiers":13977,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T17:27:37.4063175+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:37.4063175+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T17:25:41.4510887+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:25:41.4510887+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-15e801f03affdaac7ba10268556f4d0b3e1b9f897dae85fdcade5fc30d25011c","complete":true,"records":3217,"lastAttemptAt":"2026-11-23T17:27:41.4060818+00:00","lastSuccessAt":"2026-11-23T17:27:41.2539213+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:41.4060818+00:00","snapshotPublishedAt":"2026-11-23T16:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-1250350a1959f3b87bfe93f553cb971093ff156a9a3d429d35fd93d7f6344e39","complete":true,"records":232900,"lastAttemptAt":"2026-11-23T17:27:37.2778397+00:00","lastSuccessAt":"2026-11-23T17:27:36.1645675+00:00","error":null,"lastVerifiedAt":"2026-11-23T17:27:37.2778397+00:00","snapshotPublishedAt":"2026-11-23T16:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}