CVE-2026-16796

Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()

Published Jul 23, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Aws bedrock-agentcore
Vendors & Products Aws bedrock-agentcore
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-88

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

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Jul 24, 2026, 1:34 PM
Reserved
Jul 23, 2026, 6:37 PM
Status
Awaiting Analysis
Published
Jul 23, 2026, 9:17 PM
Modified
Oct 24, 2026, 1:10 PM