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
Share

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/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
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
Privileges Required
Low
User Interaction
A
Scope
X

Lifecycle Timeline

2
Patch available
Jun 19, 2026 - 16:01 EUVD
Analysis Generated
Jun 17, 2026 - 22:16 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-12530 vulnerability details – vuln.today

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