On December 25, 2025, Zenity Labs reported a vulnerability to AWS: a single ordinary chat message could trick a public-facing customer service agent into handing over its full temporary credentials, granting read, write, and delete access to the code, private conversations, and long-term memory of every agent in the same account and region. AWS first enabled IMDSv2 by default for new deployments, but tightening the default execution role took another roughly 9 months. Sandboxing was never something the platform provided — it's something you have to build yourself with least-privilege principles.

Think of it like a building's front desk: a stranger walks in and casually asks, "Can you look up the company address for me?" — and the front desk hands over every tenant's door cards, employee badges, and conference room reservation book in one package. The reason isn't that the front desk is careless; it's that building management hung every room's spare key on the same master key ring behind the front desk, and configured it so the front desk could open any door for anyone by default. But the analogy only goes so far. In a real building, the front desk might leak a stack of paper files. In the cloud, the temporary credentials an agent hands over can be reused directly from the attacker's own machine — no need to even walk past the front desk again. On top of that, those credentials come pre-loaded with door cards to other companies' rooms, dropping the bar for lateral movement to nearly zero.
Incident

One customer service chat pulled out the keys to an entire AWS region

Researchers at Zenity Labs sent a plain-language instruction to Amazon Bedrock AgentCore, and a publicly accessible customer service agent voluntarily sent its full temporary AWS credentials to an external server. Those credentials worked directly on the attacker's own laptop.

On October 8, 2026, security firm Zenity Labs publicly disclosed a vulnerability chain dubbed "AgentCorruption." The entry point was a fully public, open-to-anyone customer service agent on Amazon Bedrock AgentCore.

Bedrock AgentCore(AWS's managed platform for hosting enterprise-grade AI agents) is AWS's managed platform for running enterprise AI customer service agents, wiring up tools, memory, and permissions. The researchers instructed the agent to access 169.254.169.254 — the cloud platform's internal metadata service(an internal interface cloud servers use to identify themselves to the platform) — and send the result to an external server. The agent didn't refuse.

What came back was the agent's complete temporary AWS credentials, including an access key and a session token(a temporary ID proving the bearer is this specific machine).

The researchers pasted the credentials into the AWS command-line tool on their own laptop, and they worked immediately — the attack no longer needed the AgentCore platform at all. The credentials also dragged along a certificate and key material for an internal AWS service, plus a pre-signed URL(a time-limited, signed temporary download link) pointing to an internal S3 bucket. What a single customer service agent pulled out could conveniently haul other internal resources along with it.

1
chat message needed to trigger the full attack chain
Source: The Decoder
2025-12-25
Date Zenity reported AgentCorruption to AWS
Source: The Decoder
4 days
Time OpenAI took to fix a similar Workspace Agents vulnerability
Source: The Decoder

Two dates need to be read separately: Zenity reported the vulnerability to AWS as early as December 25, 2025, but the public disclosure didn't come until October 8, 2026.

The researchers wrote: "The sandbox boundary we were supposed to be defending against simply didn't exist." It wasn't just this one customer service agent that was compromised — the credentials covered the entire AWS account and all AgentCore agents in the same region, with full read, write, and delete access to their source code, private conversations, and long-term memory.

Agents with long-term memory enabled could also automatically forward future conversations to external addresses, while users would still see a "trustworthy" customer service agent. AWS confirmed the direction of the fix: new deployments enable the more secure IMDSv2 by default, and default execution roles have been tightened — agents can no longer call other agents, read private conversations, or retrieve credentials from Secrets Manager.

Why It Matters

Default permissions unlocked every neighbor in the same room

The part of this whole attack that least resembles a bug is right here: the permissions were designed this way on purpose, and the attacker didn't need to find any vulnerability at all.

When AgentCore creates an agent, it issues an execution role(the identity an agent assumes when operating cloud resources on a user's behalf) — essentially an employee badge for the agent. The badge's scope is set by default: every agent within the same AWS account and region can use it, with full read, write, and delete privileges.

Once the attackers had the badge, they wrote an automation script that pulled down the code packages of every agent in the region within seconds. Those packages typically contain source code mixed with forgotten passwords and API keys — an attack surface larger than the agents themselves. The script could also invoke any agent, so from a public-facing customer service agent it was possible to reach all the way to an internal finance agent and read its data too.

The credentials also swept out all private conversation history between users and agents. For agents with long-term memory enabled (which lets the agent remember user information across sessions), attackers could rewrite that memory to plant an instruction like "forward all future conversations to an external address." Users would keep talking to an agent that looked completely normal and notice nothing at all.