Skip to content
IAM Insights

Briefing · Article · updated · Boston Identity

Zenity: one AgentCore agent's credentials reached all agents in its account and region; AWS calls it expected

Zenity Labs, which sells security for AI agents, says a prompt injection sent through one exposed Amazon Bedrock AgentCore agent got it to hand over its cloud credentials. The default role behind those credentials then reached every AgentCore agent in the same account and region, including their conversations, memories and stored secrets. AWS calls the behaviour documented and expected and tells customers to grant least privilege.

Zenity Labs · Tamir Ishay Sharbat · October 8, 2026 · read

share
3 findings4 sectionsAI trustNon-human identityAgentic identity
1,665 words. With Tamir Ishay Sharbat, author, Zenity Labs.
01

What's happening

Finding3
BI-FIND-2026-0939Lead finding

Zenity says AgentCore's default role covered every agent in the account's region, so one agent's credentials could call the others and read their conversations.

Zenity reports that the execution role AgentCore attached to agents by default was not scoped to the agent. It carried bedrock-agentcore:InvokeAgentRuntime and ListEvents across every AgentCore resource in the account's region, plus DescribeLogGroups to list the other agents' IDs and pulls of any container image in the region's registry. With one agent's credentials, Zenity says it could call any other agent and "read all private conversations across all AgentCore agents, users and sessions", and it shows one such log. It names the permissions but does not publish the policy. Zenity reported the metadata access to AWS on December 25, 2025 and the role on January 12, 2026; AWS said on February 25 that it was working on the underlying issue, the role was still unchanged on June 22, and Zenity says the permissions for wide agent execution, reading conversations and reaching Secrets Manager were gone when it checked on September 29. AWS's statement addresses access to another account, while Zenity's claims stay inside one, and tells customers to grant execution roles only what their agents need.

medium confidencebest source: vendor, technicalobserved Oct 2026EvidenceSection 2Disclosure timeline and AWS response
flag a problem with BI-FIND-2026-0939
Figure steps
  1. An attacker with only chat access sends one injected message to an exposed AgentCore agent.
  2. The agent's HTTP tool asks the metadata service for its role credentials.
  3. The service returns temporary role credentials, and the agent hands them back. AWS calls this documented and expected.
  4. Zenity says the shared default role, scoped to the whole region, then lists every agent ID, invokes any agent and reads every conversation.
  5. Zenity says the same role could plant memories and read the tool secrets AgentCore keeps from agents.
Fig. 1

One injected message yields the agent's role credentials, which Zenity says then reach every other agent in the region.

Drawn from Zenity Labs' account of the attackSource dated October 8, 2026Passage: Section 2

Swipe for the full figure →

BI-FIND-2026-0940

Zenity says one prompt injection made an exposed AgentCore agent with a tool for HTTP requests hand over its own role credentials from the metadata service.

The way in was the instance metadata service. Zenity says AgentCore's Firecracker microVMs "do not provide sufficient network isolation", so any agent tool that makes HTTP requests can reach 169.254.169.254 from inside. A single prompt injection to an exposed agent got it to request that address and return its own temporary role credentials. AWS does not dispute the mechanics: its statement says agents "can access the credentials for their own execution role through the metadata service" and calls the behaviour "documented and expected". AWS closed Zenity's report as "informative" on April 12, 2026, noting that newly deployed agents had used IMDSv2 only since February 14. The overview does not say whether IMDSv2 stops the same prompt, yet Zenity writes that every issue in the post has "been patched by the AWS security team".

high confidencebest source: vendor, technicalobserved Oct 2026EvidenceIMDS access through prompt injectionDisclosure timeline and AWS response
flag a problem with BI-FIND-2026-0940
BI-FIND-2026-0941

Zenity says the agent's own execution role could plant memories in any agent in the region with long-term memory turned on, so they carry into later sessions.

Zenity says the same role could also write and steal. bedrock-agentcore:CreateEvent let it write memories into any agent in the region with long-term memory turned on, so planted instructions would carry into later sessions. bedrock-agentcore:GetResourceApiKey and secretsmanager:GetSecretValue reached the tool credentials that AgentCore Identity and Gateway are meant to keep away from the agent. The overview asserts both steps and leaves the detail to follow-up posts.

medium confidencebest source: vendor, technicalobserved Oct 2026EvidenceSection 3
flag a problem with BI-FIND-2026-0941
02

Section by section

4

showing 4 of 4

[1]

IMDS access through prompt injection

Tamir Ishay Sharbat, Zenity Labs

AI trustNon-human identity

Zenity Labs says AgentCore agents run in Firecracker microVMs without enough network isolation, so any agent tool that makes HTTP requests can reach the metadata service at 169.254.169.254. One prompt injection through an exposed chat returned the agent's temporary IAM credentials. The post shows a screenshot of the injected prompt and no payload code.

technical artifactfrom published text + figures

[2]

Overprivileged default role and regional blast radius

Tamir Ishay Sharbat, Zenity Labs

Agentic identityNon-human identityAI trust

The default AgentCore role was not scoped to one agent. It covered all AgentCore resources in the account's region: DescribeLogGroups to find agent IDs, ECR pulls (repository names match agent IDs), InvokeAgentRuntime, and ListEvents to read every conversation. Zenity calls this lateral movement across agents and a breach of privacy boundaries, and shows one extracted conversation log.

technical artifactfrom published text + figures

[3]

Memory poisoning and connected-tool credential theft

Tamir Ishay Sharbat, Zenity Labs

Agentic identityNon-human identityAI trust

The same role allowed bedrock-agentcore:CreateEvent on AgentCore Memory, so an attacker could write memories into any agent or user with long-term memory and change its behaviour for later sessions. GetResourceApiKey and secretsmanager:GetSecretValue exposed credentials that AgentCore Identity and Gateway are meant to keep from the agent. The overview asserts these steps and leaves the detail to linked follow-up posts.

technical artifactfrom published text + figures

[4]

Disclosure timeline and AWS response

Tamir Ishay Sharbat, Zenity Labs

AI trustNon-human identity

Zenity filed two reports with AWS: IMDS access (December 25, 2025, closed as 'informative' April 12, 2026, with IMDSv2 only from February 14) and the overprivileged role (January 12, 2026, unchanged June 22, much narrower by September 29 per Zenity). AWS's statement calls the behaviour documented and expected and points to its least-privilege guidance. Zenity ends with a general warning about agents that share one cloud environment.

technical artifactfrom published text

Terms used

AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
Prompt injection
Hiding instructions in text an AI model reads, such as an email or a web page, so the model does something its operator never asked for.
Amazon Bedrock AgentCore
AWS managed platform for deploying and operating AI agents (runtime, memory, identity, gateway).
Least privilege
Giving every account, human or machine, only the access its job needs and nothing more, so a compromise stays small.
Secrets manager
A service that stores passwords, API keys and certificates and hands them to approved software on request, so they are not left in code or files.
Instance Metadata Service
A local HTTP endpoint on a cloud machine that tells a workload about itself and hands it short-lived credentials; attackers reach it through server-side request forgery.
HTTP
Hypertext Transfer Protocol: the request-and-response protocol of the web, in which a client sends a method such as GET or POST to a URL and receives a status code and body.
IAM
The discipline and tooling for deciding who, or what, can sign in and what they may do afterwards: accounts, authentication, authorization, and the lifecycle around them.

Cited in our columns

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity