AWS AgentCore Vulnerability
4 steps4 pieces4 Sources
Amazon Web Services (AWS) Bedrock AgentCore, the managed platform for deploying AI agents, faced a critical security challenge identified by Zenity Labs as "AgentCorruption." The core issue was not a complex exploit chain but an architectural flaw: default permissions were overly broad, and network isolation within the Firecracker microVMs was insufficient. This allowed a single prompt injection attack on one public-facing agent to steal its temporary credentials via the Instance Metadata Service (IMDS). These credentials, tied to an overprivileged IAM role, granted attackers control over all AgentCore agents in the same AWS account and region, enabling them to read private conversations, access source code from container images, and manipulate agent memory for persistent hijacking.
In response, AWS implemented significant remediations. By February 14, 2026, IMDSv2 became the default for new AgentCore deployments, blocking trivial credential theft. Subsequently, AWS tightened the default execution roles, removing permissions that allowed cross-agent invocation, session reading, and secret access. However, Zenity’s final review in September 2026 confirmed that while the systemic flaws were patched, the fundamental tension between agent autonomy and least-privilege security remains. Users must still manually configure strict IAM boundaries to prevent lateral movement if other vulnerabilities arise.
This incident highlights a broader industry dilemma: as enterprises deploy autonomous agents with tool-use capabilities, traditional cloud security models based on static segmentation struggle to contain dynamic, prompt-driven threats. The disagreement lies in whether platform defaults should prioritize ease of use or strict isolation. AWS has moved toward stricter defaults, but the responsibility for granular permission scoping now falls heavily on developers. Future developments will likely focus on automated validation tools and runtime protections, such as the multi-layer write validation patterns recently published by AWS Security Blog to defend against memory poisoning.
How it got here
Zenity Labs responsibly disclosed the AgentCorruption findings to AWS on December 25, 2025.