Code Injection in Amazon @aws/agentcore (CVE-2026-11393)
Summary
Code injection in Amazon @aws/agentcore (CVE-2026-11393). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 1.0.0-preview.9 or later.
Original description
The description as published by the source.
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.
Source: AWS Security Bulletins NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-11393 has been found in Amazon @aws/agentcore.
Successful exploitation can lead to full system takeover. CVSS score: 9.0/10.
What to do: upgrade Amazon @aws/agentcore to 1.0.0-preview.9 or later.
If unsure, ask your IT team or search "Amazon @aws/agentcore CVE-2026-11393" on the vendor's site.
CVE-2026-11393 (Amazon @aws/agentcore) — CWE-94 / CVSS v3 9.0
Attack vector: remote (network-reachable)
Patched: 1.0.0-preview.9 — apply immediately
Workaround: If 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 e
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Arbitrary code execution (CWE-94) exists in Amazon @aws/agentcore.
Check the vendor advisory for the affected versions of Amazon @aws/agentcore.
Severity: Critical (CVSS 9.0/10). Successful exploitation can lead to full system takeover.
Update to 1.0.0-preview.9.
Workaround: If 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 e
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r '@aws/agentcore' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r '@aws/agentcore' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@aws/agentcoreを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
If 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 eパッチが適用されるまでの応急処置として、If 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 e を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade Amazon @aws/agentcore to 1.0.0-preview.9ステージング環境で 1.0.0-preview.9 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory aws.amazon.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- AWS aws.amazon.com
- package github.com
- patch github.com
- patch npmjs.com
- patch npmjs.com
- web github.com
- web github.com
- web aws.amazon.com
- web github.com