Skip to content
MediumNews

Cracks in the Bedrock: Escaping the AWS AgentCore Sandbox

Published
Record updated
View JSON

Summary

Palo Alto Networks Unit 42 reports that the network isolation mode of the Amazon Bedrock AgentCore Code Interpreter sandbox can be bypassed. Researchers used DNS tunneling to send and receive data between the sandbox and external endpoints, despite AWS describing sandbox mode as providing "complete isolation with no external access." The researchers also found that the AgentCore Runtime used a microVM Metadata Service (MMDS) without session token enforcement, which could let an attacker use SSRF to extract credentials.

Mitigation

AWS made internal remediations and outlined mitigation strategies for customers. Users cannot patch the managed environment directly, but can use the platform-level controls AWS provides. The source text does not list the specific controls.