Amazon Bedrock AgentCore: one prompt could hijack all agents in an account, AWS disputes it
On October 8, 2026, Zenity showed that a prompt injection against a public Amazon Bedrock AgentCore agent could reach the account's other agents; AWS disputes this. Any team exposing agents should restrict their roles.
Translated from French by AI. The original French article is the reference version.

Key points
According to Zenity, a prompt injection sent to a public Amazon Bedrock AgentCore agent gave control of all agents in the same account and region, along with their secrets. AWS disputes that this is a vulnerability; no CVE has been assigned. Teams that expose agents to the public should restrict their execution roles and enforce IMDSv2.
The facts
- October 8, 2026: Zenity publishes “AgentCorruption,” a four-step chain presented at the SecTor 2026 conference in Toronto.
- Initial access, according to Zenity: a prompt injection (prompt injection) leads the agent to query the AWS instance metadata service (IMDS) with a common web request tool. IMDS returns the credentials of the host machine.
- Lateral movement, according to Zenity: these credentials belong to a default role whose permissions cover all AgentCore agents in the account and region. The researchers identified and invoked the other agents through poorly protected internal interfaces.
- Data reached, according to Zenity: private conversations, long-term memories, agent source code, API keys, OAuth tokens and secrets stored in AWS Secrets Manager. Planted false memories make the agent follow the attacker's instructions and forward conversations to them, with no change in appearance.
- December 25, 2025: Zenity says it alerted AWS. According to Zenity, AWS first classified the report as “informational,” then reduced the default role's permissions, which no longer allows invoking other agents or accessing secrets.
- February 14: since that date, according to AWS, which told Zenity, new agents are deployed with IMDSv2 only, which requires a session token.
- AWS position, in a statement to The Next Web: the research “inaccurately presents expected and documented behavior” as a vulnerability. No CVE identifier has been assigned.
Impact
Accounts that run several AgentCore agents in the same region, at least one of which is publicly accessible, are exposed. According to Zenity, this single entry point reached all agents, their secrets and their OAuth tokens; the false memories then make the hijacked agent indistinguishable from the legitimate one. Real exploitation involving conversations that contain personal data would require notifying the CNIL (the French data protection authority) within 72 hours.
Without a CVE, this risk does not appear in vulnerability tracking based on identifiers: managing it is a matter of agent configuration. AWS's measures target the default role and new agents; custom roles and agents deployed before February 14 still need to be checked. Michael Bargury, co-founder and CTO of Zenity, notes that cloud security rests on segmentation and least privilege. For agents, the trade-off is between their autonomy and limiting their permissions.
Recommendations
- Inventory publicly accessible AgentCore agents, by account and region, with their execution role, their tools and their IMDS version.
- Assign a separate IAM role to each agent, limited to strictly necessary permissions, as AWS recommends: no permission to invoke other agents or access Secrets Manager without an established need.
- Enforce IMDSv2 on agents deployed before February 14 and block access to the metadata service when it is not essential.
- Search the account's API call logs for agent-to-agent invocations and for secret reads by agents' execution roles.
- Limit the tools able to issue outbound network requests, starting with publicly exposed agents.
- Treat agent memory as sensitive data: monitor it to detect planted instructions and purge it regularly.
Method: facts verified against the sources cited below, article reviewed and approved by Frédéric LENQUETTE. Our editorial policy.
Share this article