---
id: "CVE-2026-105812"
kind: "vulnerability"
aliases: ["CVE-2026-105812"]
title: "Bedrock AgentCore Starter Toolkit: agent import runs injected code"
severity: "critical"
cvss: 9.0
epss: 0.00284
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["agentcore", "aws", "bedrock", "lab-disclosure", "package", "pypi", "python"]
not_affected_if: ["not-using-starter-toolkit", "version-0.3.14-or-later"]
published_at: "2026-10-06T21:17:04+00:00"
first_seen_at: "2026-10-24T18:43:45+00:00"
updated_at: "2026-10-25T12:38:49+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/", "first_seen_at": "2026-10-24T18:43:45+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105812", "first_seen_at": "2026-10-24T18:53:56+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-105812", "first_seen_at": "2026-10-25T12:38:49+00:00"}]
---

# Bedrock AgentCore Starter Toolkit: agent import runs injected code

The bedrock-agentcore-starter-toolkit Python package, used to import Amazon Bedrock Agents locally, has a code injection flaw in its agent import. A specially crafted agent, once imported and then run or deployed, can execute arbitrary code on the machine.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `pip show bedrock-agentcore-starter-toolkit` and check whether the version is between `0.1.4` and `0.3.13`
- Check whether `agentcore create import` or `agentcore import-agent` has been run against Bedrock Agents whose data-plane fields may have been changed by other principals

## Fix

- Upgrade bedrock-agentcore-starter-toolkit to `0.3.14` or later
- Re-import affected agents with `0.3.14` or later and replace their local and deployed output artifacts
- Migrate to AgentCore CLI (`@aws/agentcore`), which AWS says carries the equivalent fix; the toolkit is deprecated as of March 27, 2026

## Timeline

- 2026-10-24T18:43:45+00:00 lab https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/ — AWS: CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF
- 2026-10-24T18:53:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-105812
- 2026-10-25T12:38:49+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-105812

## Documents

- [advisory] AWS: CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/

## From the sources

CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF

### CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF

Bulletin ID: 2026-127-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/06/2026 13:30 PM PDT

Description:

bedrock-agentcore-starter-toolkit is an AWS-maintained open-source Python package, distributed via GitHub and PyPI, that provides a command-line interface for importing Amazon Bedrock Agents into local development environments. We identified CVE-2026-105812, a code injection issue that could allow arbitrary code execution when a specially crafted agent is imported and subsequently run or deployed, and CVE-2026-106032, an external reference handling issue that could cause unintended network requests or local file access during agent import.

Affected versions: >= 0.1.4 and <= 0.3.13

Resolution:

This issue has been addressed in bedrock-agentcore-starter-toolkit version 0.3.14. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. 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.

Workarounds:

bedrock-agentcore-starter-toolkit has been deprecated as of March 27, 2026. Customers who have not yet migrated can avoid unintended disclosure by refraining from running the agentcore create import or agentcore import-agent commands against Bedrock Agents whose data-plane fields may have been modified by other principals in the same account. The recommended long-term action is to migrate to the replacement tooling, AgentCore CLI (@aws/agentcore), which contains the equivalent fix for the same issue class.

References:

- CVE-2026-105812
- CVE-2026-106032
- GHSA-37r5-8xpw-vxp9
- GHSA-5xmr-2rcp-3j75

Acknowledgement:

We would like to thank Koh Jun Sheng for collaborating on this issue through the coordinated vulnerability disclosure process.

 Please email aws-security@amazon.com with any security questions or concerns.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
