Skip to main content

Bedrock AgentCore SDK EUVDEUVD-2026-48422

| CVE-2026-16796 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-07-23 AMZN GHSA-j6g5-3hh3-pgw8
8.4
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to AgentCore environment
  2. Delivery
    Supply crafted package name to install_packages()
  3. Exploit
    Argument delimiters reinterpreted as command options
  4. Execution
    Execute arbitrary commands in Code Interpreter sandbox
  5. Impact
    Access or tamper with sandbox data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires an authenticated AgentCore user (CVSS PR:L) and active user interaction (UI:A), and specifically requires that the crafted, attacker-controlled input reaches the install_packages() method of the Bedrock AgentCore Python SDK as a package name argument - i.e. a code path or agent workflow that installs packages using caller-supplied names. The exact concrete prerequisite is that the application invokes install_packages() with a package name string that the attacker can influence within a Code Interpreter sandbox session on an SDK version earlier than 1.18.1. Limiting factors that constrain real-world risk: the attacker must already be an authorized user of the AgentCore environment, some user/agent interaction must trigger the vulnerable install call, and the impact is contained to the Code Interpreter sandbox (no confirmed subsequent-system or host impact, availability impact None).

Impact

The signals are moderately concerning but not emergency-tier. The CVSS 4.0 base score is 8.4 (High) with a network attack vector, low attack complexity (AV:N/AC:L/AT:N) and high confidentiality/integrity impact (VC:H/VI:H), but two factors materially lower real-world risk: PR:L means the attacker must already be an authenticated user of the AgentCore environment, and UI:A means active user interaction is part of the attack path. Availability impact is None and there is no subsequent-system impact (SC/SI/SA:N), so the blast radius is scoped to the Code Interpreter sandbox rather than the broader host. EPSS is not provided in the input, so exploitation probability cannot be quantified, and there is no KEV listing and no evidence of a public PoC - so this is a real priority to patch for anyone running AgentCore agents, but not currently mass-exploited. Note a mild tension worth verifying: the CVSS labels the vector as network (AV:N) while exploitation fundamentally depends on being an authorized AgentCore user submitting package input, so treat 'remote' as 'remote authenticated tenant', not anonymous internet-facing.

Exploit ScenarioDerived

An authenticated user (or an agent whose package input the user can influence) submits a crafted package name containing argument delimiters to a workflow that calls install_packages(); the delimiters are interpreted as extra command options or a chained command, causing arbitrary commands to run inside the Code Interpreter sandbox. Because the attack requires active user interaction and authenticated access, a realistic path is a malicious or manipulated agent instruction that supplies the poisoned package string during a code-execution session. No public exploit code has been identified at time of analysis.

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

AnalysisAIv2 – Jul 23, 2026

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary commands inside the Code Interpreter sandbox by embedding shell/argument delimiters in package names passed to install_packages(). Because the CVSS vector is PR:L, an attacker needs some level of authenticated access and the flaw requires user interaction (UI:A) with a high confidentiality and integrity impact (CVSS 4.0 base 8.4). There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.

Earlier versions of this analysis (1)
v1 Jul 23, 2026 - 20:50 CVSS 7.3

Command injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user execute arbitrary commands inside the Code Interpreter sandbox by smuggling shell/argument delimiters through crafted package-name arguments to install_packages(). The flaw (CWE-88, argument-delimiter neutralization failure) carries a 7.3 CVSS and is patched in 1.18.1; there is no public exploit identified at time of analysis and it is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade the bedrock-agentcore Python package to version 1.18.1 or later (for example via 'pip install --upgrade bedrock-agentcore==1.18.1'), as directed by AWS security bulletin 2026-065 (https://aws.amazon.com/security/security-bulletins/2026-065-aws/) and advisory GHSA-j6g5-3hh3-pgw8. This is the primary and authoritative fix. Until the upgrade is deployed, reduce exposure by not passing untrusted or agent/LLM-generated package names directly into install_packages(): validate package names against a strict allowlist or a conservative regex (letters, digits, dots, hyphens, underscores only, rejecting whitespace, leading dashes, and shell metacharacters), and pin dependencies to a vetted manifest rather than accepting free-form package arguments - the trade-off is reduced flexibility for agents that dynamically install packages. Because impact is confined to the Code Interpreter sandbox, also review and tighten the sandbox's outbound network and permission scope so that even successful in-sandbox command execution cannot reach sensitive resources.

Affected VersionsENISA

bedrock-agentcore 1.18.1 0 <1.18.1

Affected Packages

pypi bedrock-agentcore fix: 1.18.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

The affected component is the AWS Bedrock AgentCore Python SDK, the client library used to build and orchestrate agents on Amazon Bedrock AgentCore, which includes a managed Code Interpreter sandbox for executing agent-generated code and installing dependencies. The root cause is CWE-88 (Improper Neutralization of Argument Delimiters in a Command, 'Argument Injection'): the install_packages() method passes user-influenced package name strings into an underlying package-installation command without properly neutralizing argument delimiters (such as spaces, dashes introducing new flags, or shell metacharacters). This allows crafted 'package name' input to be reinterpreted as additional command-line options or separate commands, turning a dependency-install feature into an arbitrary command execution primitive within the sandbox. The CPE identifies the affected package as cpe:2.3:a:aws:bedrock-agentcore_1.18.1, i.e. the bedrock-agentcore Python distribution on PyPI prior to 1.18.1.

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

Authenticated user supplies input (PR:L) with required interaction (UI:R); command execution stays within the sandbox authority (S:U) yielding high confidentiality and integrity but no availability impact.

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

3
Analysis Updated
Jul 23, 2026 - 21:30 vuln.today
v2 - CVSS changed
CVSS changed
Jul 23, 2026 - 21:23 NVD
7.3 (HIGH) 8.4 (HIGH)
CVE Published
Jul 23, 2026 - 20:06 cve.org
HIGH 7.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

AWS Bedrock AgentCore Python SDK versions prior to 1.18.1 contain a vulnerability allowing authenticated users to execute unauthorized code within production AI deployments, potentially compromising sensitive data and business intelligence. Organizations using this SDK must prioritize immediate patching to prevent unauthorized access to information processed by their AI systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
specialized, recently introduced AWS AI-agent SDK, niche adoption
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 Yes
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

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
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-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-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

CVE-2026-13762 HIGH POC
7.9 Jun 29

WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa

CVE-2026-4295 HIGH POC
7.8 Mar 17

A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us

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