Skip to main content

AgentCore CLI CVE-2026-11393

| EUVDEUVD-2026-35187 HIGH
Code Injection (CWE-94)
2026-06-08 AMZN GHSA-m4x6-gwgp-4pm7
8.8
CVSS 4.0 · Vendor: AMZN
Share

Severity by source

Vendor (AMZN) PRIMARY
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/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

Primary rating from Vendor (AMZN) · only source for this CVE.

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
A
Scope
X

Lifecycle Timeline

5
Re-analysis Queued
Jun 08, 2026 - 19:22 vuln.today
cvss_changed
Severity Changed
Jun 08, 2026 - 19:22 NVD
CRITICAL HIGH
CVSS changed
Jun 08, 2026 - 19:22 NVD
9.0 (CRITICAL) 8.8 (HIGH)
Source Code Evidence Fetched
Jun 08, 2026 - 19:22 vuln.today
Analysis Generated
Jun 08, 2026 - 19:22 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via crafted collaborationInstruction strings stored on Bedrock Agent collaborators. When another user in the same AWS account imports the agent, the malicious triple-quote payload breaks out of the generated Python docstring and executes attacker-controlled code on AWS AgentCore Runtime under the imported agent's IAM execution role, as well as on the importing user's local environment. No public exploit identified at time of analysis, but the cross-user, cross-environment scope and 9.0 CVSS rating make this a high-priority patch.

Technical ContextAI

AgentCore CLI is the AWS command-line tool (distributed via npm as @aws/agentcore) for managing Amazon Bedrock multi-agent workflows, including importing existing Bedrock Agent collaborators. During import, the CLI generates Python source code that embeds the collaborationInstruction field - supplied by the upstream collaborator agent - inside a triple-quoted Python string (docstring). The CWE-94 root cause is improper neutralization of triple-quote characters (""") in this code-generation step: an attacker who controls the collaborationInstruction can close the docstring and append arbitrary Python statements that the generator emits verbatim. The upstream fix in PR #1329 ("escape triple-quotes in collaborationInstruction to prevent docstring injection") confirms this is a classic code-generation injection bug rather than a runtime eval flaw. The affected CPE is cpe:2.3:a:aws:agentcore_cli:*, and the same fix landed in the 1.0.0-preview.9 preview line.

RemediationAI

Vendor-released patch: upgrade AgentCore CLI to v0.14.2 (npm install -g @aws/agentcore@0.14.2) or, if tracking the preview line, to 1.0.0-preview.9; the fix is PR #1329 which escapes triple-quote sequences in collaborationInstruction before they are embedded in generated Python. Patched releases are available at https://github.com/aws/agentcore-cli/releases/tag/v0.14.2 and https://www.npmjs.com/package/@aws/agentcore/v/0.14.2, with vendor guidance at https://aws.amazon.com/security/security-bulletins/2026-040-aws/. Until upgrade is complete, compensating controls include restricting which IAM principals can write to collaborationInstruction on shared Bedrock Agent collaborators (via IAM policy on bedrock:UpdateAgentCollaborator and related actions), reviewing collaborationInstruction values for triple-quote characters or Python syntax before running agentcore import, and running imports only inside isolated workstations or sandboxed roles so that any code execution is contained - the trade-off is operational friction for teams that legitimately share Bedrock collaborators across accounts.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Share

CVE-2026-11393 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy