AgentCorruption Prompt Attack Exposed AWS AgentCore Credentials and Agent Memories
Emerging Technology Risk · 4 sources · Updated 2mo ago · First seen Oct 9, 2026

Zenity Labs reported an attack chain dubbed AgentCorruption that could let an external attacker obtain temporary AWS credentials through a single malicious prompt sent to a public-facing Amazon Bedrock AgentCore agent. Prompt injection induced the agent’s web or shell tool to access instance metadata endpoints, exploiting insufficient network isolation. Overly broad execution-role permissions then enabled access to other agents, container images, source code, conversations, memories, and connected-service secrets within the same AWS account and region. Researchers also demonstrated persistent memory manipulation that could influence agent behavior in future sessions. The findings describe a demonstrated attack chain, not a confirmed customer breach.
Zenity began disclosure in December 2025, and AWS made IMDSv2 mandatory on February 14, 2026. Excessive permissions remained unresolved during a June 22 check, but Zenity said AWS had addressed the outstanding issues by September 29, including removing broad permissions. AWS disputed the vulnerability characterization, saying execution-role credential access was expected behavior. Organizations using AgentCore should enforce least-privilege execution roles, restrict agent network access, monitor credential use and memory changes, and implement controls to prevent bypassing AgentCore Gateway.
Why it matters
AgentCorruption demonstrated how an external attacker could use a single malicious prompt against a public-facing Amazon Bedrock AgentCore agent to obtain temporary AWS credentials and access other agents in the same account and region. Potential consequences include exposure of conversations, source code and connected-service secrets, plus persistent memory manipulation that changes future agent behavior. The supplied reporting describes researcher demonstrations, not confirmed customer breaches or exploitation in the wild; Zenity confirmed AWS had addressed the reported issues by September 29, 2026.
- Affected population: Organizations operating AgentCore agents with attacker-accessible interfaces, network-capable tools and excessive execution-role permissions.
- Business exposure: Confidentiality of user conversations and proprietary code, integrity of agent decisions, and unauthorized access to services connected through API keys or OAuth tokens.
- Blast radius: Historically extended beyond the initially exposed agent to permitted resources within the same AWS account and region. Cross-account compromise was not demonstrated; AWS stated that cross-account access requires appropriate role and resource permissions.
- Residual risk: Customer-managed roles, tool permissions, network paths and memory controls require independent review despite the reported AWS remediation.


