{"answers":{"affected":"6 open source packages ship an affected version, including @aws/agentcore.","exploited":"There is no known exploitation of CVE-2026-11393 in the wild and no public exploit code.","fix":"Upgrade @aws/agentcore to a fixed version for your release line: 0.14.2 or 1.0.0-preview.9.","what":"CVE-2026-11393 is a high-severity code injection vulnerability in AWS AgentCore CLI, published on 8 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-11393 and fix it if it is affected.\n\nWhat it is: CVE-2026-11393 is a high-severity code injection vulnerability in AWS AgentCore CLI, published on 8 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-11393 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @aws/agentcore (npm): affected from 0.3.0-preview.7.0 up to 0.3.0-preview.9.0; no fix listed\n- @aws/agentcore (npm): affected from 0.3.0-preview.7.0 up to 0.3.0-preview.9.0; no fix listed\n- @aws/agentcore (npm): affected from 0.4.0; fixed in 0.14.2\n- @aws/agentcore (npm): affected from 0.4.0; fixed in 0.14.2\n- @aws/agentcore (npm): affected from 1.0.0-preview.1; fixed in 1.0.0-preview.9\n- @aws/agentcore (npm): affected from 1.0.0-preview.1; fixed in 1.0.0-preview.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-11393/ (Markdown: https://insights.sbomify.com/CVE-2026-11393/index.md)","id":"CVE-2026-11393","markdown":"https://insights.sbomify.com/CVE-2026-11393/index.md","name":"CVE-2026-11393","record":{"aliases":["GHSA-m4x6-gwgp-4pm7"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"AWS AgentCore CLI","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary code via crafted collaboration instructions during agent import, affecting AWS AgentCore Runtime and local environments.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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\nTo remediate this issue, users should upgrade to version 0.14.2.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import","id":"CVE-2026-11393","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":6,"n_references":5,"next":{"headline":"CF7 to Webhook \u003c= 5.0.0 - Unauthenticated Server-Side Request Forgery via CF7 Field Placeholder in Webhook URL Host","id":"CVE-2026-11395"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0.3.0-preview.7.0"],"last_affected":["0.3.0-preview.9.0"],"package":"@aws/agentcore","purl":null,"source":"GHSA-m4x6-gwgp-4pm7"},{"ecosystem":"npm","fixed":[],"introduced":["0.3.0-preview.7.0"],"last_affected":["0.3.0-preview.9.0"],"package":"@aws/agentcore","purl":"pkg:npm/%40aws/agentcore","source":"GHSA-m4x6-gwgp-4pm7"},{"ecosystem":"npm","fixed":["0.14.2"],"introduced":["0.4.0"],"last_affected":[],"package":"@aws/agentcore","purl":null,"source":"GHSA-m4x6-gwgp-4pm7"},{"ecosystem":"npm","fixed":["0.14.2"],"introduced":["0.4.0"],"last_affected":[],"package":"@aws/agentcore","purl":"pkg:npm/%40aws/agentcore","source":"GHSA-m4x6-gwgp-4pm7"},{"ecosystem":"npm","fixed":["1.0.0-preview.9"],"introduced":["1.0.0-preview.1"],"last_affected":[],"package":"@aws/agentcore","purl":null,"source":"GHSA-m4x6-gwgp-4pm7"},{"ecosystem":"npm","fixed":["1.0.0-preview.9"],"introduced":["1.0.0-preview.1"],"last_affected":[],"package":"@aws/agentcore","purl":"pkg:npm/%40aws/agentcore","source":"GHSA-m4x6-gwgp-4pm7"}],"prev":{"headline":"WP Hotel Booking \u003c= 2.3.1 - Reflected Cross-Site Scripting via 'check_in_date' and 'check_out_date' Parameters","id":"CVE-2026-11392"},"products":["AgentCore CLI"],"published":"2026-06-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-08","vendors":["AWS"]},"summary":"Authenticated attackers can execute arbitrary code via crafted collaboration instructions during agent import, affecting AWS AgentCore Runtime and local environments.","url":"https://insights.sbomify.com/CVE-2026-11393/"}