Description
Improper control of code generation in the agent import functionality of Amazon Bedrock AgentCore Starter Toolkit before 0.3.14 might allow an authenticated same-account actor to execute arbitrary code when a user imports and runs or deploys a Bedrock Agent, via crafted configuration values incorporated into generated Python source without safe literal encoding.



To remediate this issue, users should upgrade to version 0.3.14. Because this issue persists into generated source, upgrading alone is not sufficient: agents imported with an affected version must be re-imported with version 0.3.14 or later and their local and deployed output artifacts replaced.
Published: 2026-10-06
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Upgrade
AI Analysis

Impact

The vulnerability arises from improper control of code generation in the Bedrock AgentCore Starter Toolkit’s agent import functionality. Prior to version 0.3.14, the toolkit incorporated user‑supplied configuration values directly into generated Python source without safe literal encoding, enabling an attacker with proper authentication in the same AWS account to inject arbitrary code. The bug is classified as a Code Injection flaw (CWE-94) and can lead to remote code execution if the imported agent is executed or deployed.

Affected Systems

The affected product is the Amazon Bedrock AgentCore Starter Toolkit, provided by AWS. The issue exists in all releases prior to 0.3.14. Any instance of the toolkit installed under those versions that processes agent imports is vulnerable. Users migrating to a newer release are no longer affected.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. Exploitation would require the attacker to have permissions to import an agent in the same AWS account and provide crafted configuration values. While the EPSS score is not available, the missing KEV listing suggests no widespread exploitation yet. Nonetheless, because the flaw permits arbitrary code execution within the user’s account, the risk remains significant, especially in environments where agent deployment scripts are executed automatically.

Generated by OpenCVE AI on October 6, 2026 at 23:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Bedrock AgentCore Starter Toolkit to version 0.3.14 or later.
  • Re‑import all agents that were previously imported with an earlier toolkit version using the upgraded toolkit.
  • Replace the local and deployed artifacts of those re‑imported agents with the regenerated versions to remove any injected code.

Generated by OpenCVE AI on October 6, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 06 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
Description Improper control of code generation in the agent import functionality of Amazon Bedrock AgentCore Starter Toolkit before 0.3.14 might allow an authenticated same-account actor to execute arbitrary code when a user imports and runs or deploys a Bedrock Agent, via crafted configuration values incorporated into generated Python source without safe literal encoding. To remediate this issue, users should upgrade to version 0.3.14. Because this issue persists into generated source, upgrading alone is not sufficient: agents imported with an affected version must be re-imported with version 0.3.14 or later and their local and deployed output artifacts replaced.
Title Code injection via unencoded configuration values during Python code generation in Bedrock AgentCore Starter Toolkit agent import
First Time appeared Aws
Aws bedrock-agentcore-starter-toolkit
Weaknesses CWE-94
CPEs cpe:2.3:a:aws:bedrock-agentcore-starter-toolkit:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws bedrock-agentcore-starter-toolkit
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

Aws Bedrock-agentcore-starter-toolkit
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-10-07T15:17:53.000Z

Reserved: 2026-10-05T21:02:44.400Z

Link: CVE-2026-105812

cve-icon Vulnrichment

Updated: 2026-10-07T15:17:46.842Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-06T21:17:04.600

Modified: 2026-10-07T16:17:34.333

Link: CVE-2026-105812

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T02:00:11Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')