Skip to content

News

One Prompt Exposed Every Agent in Its Region Under AWS's Old AgentCore Default

Zenity Labs reported on October 8, 2026, that one prompt to an exposed Amazon Bedrock AgentCore agent returned the credentials of its default role. That role covered every AgentCore agent in the account's region, their private conversations and their stored secrets. AWS has since narrowed it.

Johannes KeienburgCEO & Founder

The Default Role Covered Every Agent in the Account's Region

Companies can deploy their AI agents on Amazon Bedrock AgentCore, a managed AWS platform. On October 8, 2026, the security firm Zenity Labs showed that one prompt to a single AgentCore agent could expose all the others. The attacker used a prompt injection to make an agent with a web-request tool call the instance metadata service. This local AWS endpoint hands out the temporary credentials of the agent's cloud role. By default, that role was not limited to its own agent. It held permissions over every AgentCore agent in the same account and region. Least privilege exists to close exactly that gap.

The default AgentCore role wasn't scoped to the specific agent. Instead, it included broad permissions across all AgentCore resources in the entire AWS account's region.

Tamir Ishay Sharbat and Lana SalamehZenity Labs

With those credentials, the researchers listed every agent in the region. They could read private conversations across agents, users and sessions and send requests to any agent, including internal ones. Zenity Labs says an attacker needed only chat access to one exposed agent. AWS says an agent can access another AWS account only if the developer grants permissions on both sides. Inside AWS, the blast radius therefore stayed within one account and region. Stolen credentials have carried an agent further before. In the JadePuffer attack reported in July, an agent used them to move through a network on its own.

The Credential Store Was Readable by the Agent It Was Kept From

AgentCore recommends keeping an agent's credentials for MCP servers, connectors and APIs away from the agent itself. They go into AgentCore Identity and AWS Secrets Manager. AgentCore Gateway then adds them to the requests that pass through it. The default role held permission to read those secrets in Secrets Manager. In a follow-up post, the researchers used them to access services outside AWS. A gateway that holds credentials for an agent protects them only while the agent's cloud role cannot read the store that holds them.

The behavior described is documented and expected. AgentCore agents can access the credentials for their own execution role through the metadata service.

AWSstatement published by Zenity Labs

Zenity Labs reported the findings to AWS in December 2025 and January 2026. AWS told the researchers that newly deployed agents have used only the newer version of the metadata service, IMDSv2, since February 14, 2026. On September 29, 2026, the researchers found that AWS had removed the default role's region-wide permissions to run agents, read conversations and access Secrets Manager. Zenity Labs says all the issues it describes have been patched, although AWS calls the behavior documented and expected. Its post does not say whether agents deployed before these changes were updated. AWS recommends execution roles that hold only what their agents need.

An agent acts for a named person, and its access should stay at the least it needs. Here one prompt turned a single agent's cloud role into access to every agent in its region. A request to the metadata service does not pass through the MCP Gateway. For the calls it does govern, the gateway checks each one against policy and injects the upstream credential on its own side. It records whether each call was allowed, denied or escalated. Outside it, someone has to check which role each agent runs under and whether that role covers that agent alone.

Gil RöderCPO & Co-Founder

Source: Tamir Ishay Sharbat and Lana Salameh, Zenity Labs, AgentCorruption: How A Single Prompt Collapsed The Entire Cloud Security Model, October 8, 2026.

Get started

Talk to Us First, Then Test Cakewalk on Your Stack

Book a Demo
  1. We explore

    We start with a call about your setup

    In a first call, we look at the AI agents and apps that already run in your company and where their access sits. We help you sort out the agent chaos and the scattered access, and together we find out whether Cakewalk fits.

  2. You try

    You try Cakewalk for free on your own stack

    We connect Cakewalk to your company's real systems and hand it over. You'll quickly know if your team will use it.

  3. We roll out

    If Cakewalk helps, we roll it out together

    The same team you met in the first call stays with you while we onboard the rest of your company. After that, we meet your team for regular check-ins and support you whenever you need us.

Book Your Cakewalk Demo

Take Control of Your AI Agents & Human Identities.

I understand that by submitting the form, Cakewalk will use the information collected above to schedule a meeting in accordance with our Privacy Policy.

You'll see how to

30 min
  • Find every AI agent and human identity already running across your stack

  • Grant or revoke access in seconds, for both agents and employees

  • Pass your next audit with evidence for every access decision, AI or human

Limited Spots Left

Govern Access for Every AI Agent.

Cakewalk controls what every AI agent can access across your stack, scoped to each task and revoked the moment it's done.

By submitting this form, you agree to receive other communications from Cakewalk per our Privacy Policy. Learn how we store, process and use your data.

  • 300+

    Integrations and agent platforms

  • Zero Standing Permissions

    Every agent starts each task with no access

  • Just-in-Time Access

    Agents get only what the task needs, then lose it

  • Full Audit Trail

    Every agent action is logged and replayable