{"id":"CVE-2026-105812","kind":"vulnerability","aliases":["CVE-2026-105812"],"related":[],"title":"Bedrock AgentCore Starter Toolkit: agent import runs injected code","description":"CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF\n\n### CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF\n\nBulletin ID: 2026-127-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/06/2026 13:30 PM PDT\n\nDescription:\n\nbedrock-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.\n\nAffected versions: >= 0.1.4 and <= 0.3.13\n\nResolution:\n\nThis 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.\n\nWorkarounds:\n\nbedrock-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.\n\nReferences:\n\n- CVE-2026-105812\n- CVE-2026-106032\n- GHSA-37r5-8xpw-vxp9\n- GHSA-5xmr-2rcp-3j75\n\nAcknowledgement:\n\nWe would like to thank Koh Jun Sheng for collaborating on this issue through the coordinated vulnerability disclosure process.\n\n Please email aws-security@amazon.com with any security questions or concerns.","summary":"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.","severity":"critical","cvss":9.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["agentcore","aws","bedrock","lab-disclosure","package","pypi","python"],"not_affected_if":["not-using-starter-toolkit","version-0.3.14-or-later"],"how_to_check":"- Run `pip show bedrock-agentcore-starter-toolkit` and check whether the version is between `0.1.4` and `0.3.13`\n- 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\n- Re-import affected agents with `0.3.14` or later and replace their local and deployed output artifacts\n- Migrate to AgentCore CLI (`@aws/agentcore`), which AWS says carries the equivalent fix; the toolkit is deprecated as of March 27, 2026","status":"open","published_at":"2026-10-06T21:17:04+00:00","first_seen_at":"2026-10-24T18:43:45+00:00","triaged_at":"2026-10-25T02:59:54+00:00","updated_at":"2026-10-25T02:59:54+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T02:59:54Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade bedrock-agentcore-starter-toolkit to `0.3.14` or later\n- Re-import affected agents with `0.3.14` or later and replace their local and deployed output artifacts\n- Migrate to AgentCore CLI (`@aws/agentcore`), which AWS says carries the equivalent fix; the toolkit is deprecated as of March 27, 2026","reach":"local","title":"Bedrock AgentCore Starter Toolkit: agent import runs injected code","impact":"high","summary":"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.","category":"package","nicknames":[],"who_cares":["python","aws","bedrock","agentcore","pypi"],"confidence":0.7,"needs_auth":"unknown","worst_case":"Arbitrary code runs on the developer machine during import, run or deploy","analyst_note":"Check the GHSA-37r5-8xpw-vxp9 and GHSA-5xmr-2rcp-3j75 advisories and the NVD entry for CPE ranges and whether the sources differ on attack conditions.","how_to_check":"- Run `pip show bedrock-agentcore-starter-toolkit` and check whether the version is between `0.1.4` and `0.3.13`\n- 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","needs_analyst":true,"not_affected_if":["not-using-starter-toolkit","version-0.3.14-or-later"],"who_is_affected":"Teams that use the bedrock-agentcore-starter-toolkit Python package to import Amazon Bedrock Agents into local development environments, including forks or derivatives of that code. Exposure depends on importing and then running or deploying agents, especially ones whose data-plane fields other principals in the same account could have modified. Teams not using this toolkit can skip it.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000797,"input_tokens":4152,"output_tokens":763,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-105812':12A,15A,69C,88C,165C,360C '-106032':73C,92C,191C,363C '-127':108C '-2026':11A,14A,68C,72C,87C,91C,164C,190C,359C,362C '0.1.4':212C '0.3.13':214C '0.3.14':228C,263C '10/06/2026':119C '13':120C '2026':107C,287C '27':286C '2rcp':372C '30':121C '37r5':366C '3j75':373C '5xmr':371C '8xpw':367C 'access':206C 'account':330C 'acknowledg':374C 'action':336C 'address':220C 'affect':210C,254C 'agent':5A,38B,47B,52B,81C,100C,156C,180C,208C,250C,310C,314C 'agentcor':2A,16B,28B,77C,96C,127C,224C,277C,303C,307C,344C 'allow':172C 'amazon':36B,154C 'arbitrari':62B,173C 'artifact':272C 'attent':116C 'avoid':295C 'aw':17B,109C,111C,133C 'aws-maintain':132C 'aws-security@amazon.com':396C 'aws/agentcore':346C 'bedrock':1A,18B,27B,37B,76C,95C,126C,155C,223C,276C,313C 'bedrock-agentcore-starter-toolkit':26B,125C,222C,275C 'bulletin':105C 'caus':199C 'class':356C 'cli':345C 'code':9A,42B,63B,82C,101C,167C,174C,242C 'collabor':384C 'command':149C,311C 'command-lin':148C 'concern':402C 'contain':348C 'content':112C 'coordin':390C 'could':171C,198C 'craft':51B,179C 'creat':304C 'custom':288C 'cve':10A,13A,67C,71C,86C,90C,163C,189C,358C,361C 'data':317C 'data-plan':316C 'date':118C 'deploy':59B,187C,270C 'deprec':282C 'deriv':241C 'descript':124C 'develop':159C 'disclosur':21B,297C,392C 'distribut':140C 'email':395C 'ensur':237C 'environ':160C 'equival':350C 'execut':61B,175C 'extern':193C 'field':319C 'file':205C 'fix':249C,351C 'flaw':44B 'fork':239C 'ghsa':365C,370C 'ghsa-37r5-8xpw-vxp9':364C 'ghsa-5xmr-2rcp-3j75':369C 'github':142C 'handl':195C 'id':106C 'identifi':162C 'import':6A,35B,48B,54B,80C,99C,114C,153C,182C,209C,251C,260C,305C,309C 'import-ag':308C 'incorpor':246C 'inject':8A,43B,83C,102C,168C 'interfac':151C 'issu':74C,93C,169C,196C,217C,355C,387C 'jun':381C 'koh':380C 'lab':20B 'lab-disclosur':19B 'later':265C 'latest':234C 'like':377C 'line':150C 'local':39B,158C,204C,268C 'long':334C 'long-term':333C 'machin':66B 'maintain':134C 'march':285C 'may':320C 'migrat':293C,339C 'modifi':323C 'must':256C 'network':201C 'new':248C 'open':136C 'open-sourc':135C 'output':271C 'packag':22B,32B,139C 'patch':244C 'pdt':123C 'plane':318C 'pleas':394C 'pm':122C 'princip':326C 'process':393C 'provid':146C 'public':117C 'pypi':23B,144C 'python':24B,31B,138C 'question':400C 're':259C 're-import':258C 'recommend':230C,332C 'refer':194C,357C 'refrain':299C 'replac':273C,342C 'request':202C 'requir':115C 'resolut':215C 'run':7A,57B,185C,301C 'scope':110C 'secur':399C 'sheng':382C 'sourc':137C 'special':50B,178C 'ssrf':85C,104C 'starter':3A,29B,78C,97C,128C,225C,278C 'subsequ':184C 'term':335C 'thank':379C 'tool':343C 'toolkit':4A,30B,79C,98C,129C,226C,279C 'type':113C 'unintend':200C,296C 'upgrad':231C 'use':33B 'version':211C,227C,235C,255C,262C 'via':141C 'vulner':391C 'vxp9':368C 'whose':315C 'workaround':274C 'would':376C 'yet':292C","nicknames":[],"mitigations":[],"who_affected":"Teams that use the bedrock-agentcore-starter-toolkit Python package to import Amazon Bedrock Agents into local development environments, including forks or derivatives of that code. Exposure depends on importing and then running or deploying agents, especially ones whose data-plane fields other principals in the same account could have modified. Teams not using this toolkit can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-06T21:17:04+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"ff89ba41-3aa1-4d27-914a-91399e9639e5","poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/#CVE-2026-105812","url":"https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T18:43:45+00:00","fetched_at":"2026-10-24T18:43:45+00:00","note":"AWS: CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF"},{"source":"nvd","external_id":"CVE-2026-105812","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105812","severity":null,"published_at":"2026-10-06T21:17:04+00:00","modified_at":"2026-10-07T16:17:34+00:00","first_seen_at":"2026-10-24T18:53:56+00:00","fetched_at":"2026-10-24T18:53:56+00:00","note":null}],"documents":[{"id":2888,"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-127-aws/","title":"AWS: CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF","kind":"advisory","source":"lab","text":"CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF\n\n### CVE-2026-105812 and CVE-2026-106032: Issue with Bedrock AgentCore Starter Toolkit - Import Agent Code Injection and SSRF\n\nBulletin ID: 2026-127-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/06/2026 13:30 PM PDT\n\nDescription:\n\nbedrock-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.\n\nAffected versions: >= 0.1.4 and <= 0.3.13\n\nResolution:\n\nThis 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.\n\nWorkarounds:\n\nbedrock-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.\n\nReferences:\n\n- CVE-2026-105812\n- CVE-2026-106032\n- GHSA-37r5-8xpw-vxp9\n- GHSA-5xmr-2rcp-3j75\n\nAcknowledgement:\n\nWe would like to thank Koh Jun Sheng for collaborating on this issue through the coordinated vulnerability disclosure process.\n\n Please email aws-security@amazon.com with any security questions or concerns.","published_at":null,"relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}