Description
Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK before 1.18.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 the patched version 1.18.1.
Published: 2026-07-23
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Bedrock AgentCore Python SDK contains a flaw where the install_packages() method does not properly neutralize special characters that act as argument delimiters. A crafted package name can therefore pass shell commands to the Code Interpreter sandbox, allowing an authenticated user to execute arbitrary commands within that sandbox. The vulnerability is limited to code executed inside the sandbox and does not present an explicit mechanism for escaping the sandbox boundary according to the description.

Affected Systems

Any deployment that uses the AWS Bedrock AgentCore Python SDK version earlier than 1.18.1 is vulnerable. The affected product is AWS Bedrock AgentCore, and the issue is present in all releases older than the patched 1.18.1 version.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. The EPSS score is below 1%, suggesting a low current probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a legitimate authenticated user to invoke install_packages() with a crafted argument; the attack vector is therefore a remote authenticated user. Successful exploitation would enable the attacker to run arbitrary commands within the sandbox environment.

Generated by OpenCVE AI on August 3, 2026 at 21:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Bedrock AgentCore SDK to version 1.18.1 or later.
  • Remove any older copies of the SDK from all deployment environments to prevent accidental use.
  • Restrict the use of install_packages() to trusted input sources or disable the Code Interpreter sandbox if it is not required.

Generated by OpenCVE AI on August 3, 2026 at 21:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j6g5-3hh3-pgw8 AWS Bedrock AgentCore: Improper neutralization of argument delimiters in the Python SDK install_packages()
History

Tue, 28 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Aws bedrock-agentcore
Vendors & Products Aws bedrock-agentcore

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK before 1.18.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 the patched version 1.18.1.
Title Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()
First Time appeared Aws
Aws bedrock-agentcore 1.18.1
Weaknesses CWE-88
CPEs cpe:2.3:a:aws:bedrock-agentcore_1.18.1:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws bedrock-agentcore 1.18.1
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': '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'}


Subscriptions

Aws Bedrock-agentcore Bedrock-agentcore 1.18.1
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-24T13:34:19.993Z

Reserved: 2026-07-23T18:37:41.297Z

Link: CVE-2026-16796

cve-icon Vulnrichment

Updated: 2026-07-24T13:34:16.878Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-23T21:17:03.510

Modified: 2026-07-24T20:47:41.790

Link: CVE-2026-16796

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:15:04Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')