Severity by source
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
Lifecycle Timeline
5DescriptionCVE.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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35187
GHSA-m4x6-gwgp-4pm7