---
id: CVE-2026-105812
title: >-
  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 dep…
summary: >-
  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 dep…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: aws
product: bedrock-agentcore-starter-toolkit
affected:
  - bedrock-agentcore-starter-toolkit >= 0.1.4 <= 0.3.13
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T21:17:04.600'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105812'
references:
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-127-aws/'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: 'https://pypi.org/project/bedrock-agentcore-starter-toolkit/0.3.14/'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T21:20:28.979Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
