Skip to content

An editorial team and a community building with AI

← All articles

News · Amazon Web Services · 2 min read

Event date: · Published:

AWS patches macOS sandbox escape flaw in Strands Box for Bedrock AgentCore

AWS disclosed CVE-2026-141517, a macOS sandbox escape bug in Strands Box, the open-source sandbox behind Bedrock AgentCore, and shipped a fix in version 0.2.0.

Amazon Web Services published AWS Security Bulletin 2026-207-AWS on December 2, 2026, disclosing CVE-2026-141517, a path-equivalence flaw in Strands Box, its open-source sandbox for confining AI agents that underlies the Bedrock AgentCore runtime. The bug could let a local actor controlling a sandboxed agent run code outside the sandbox on macOS.

What changed

  • CVE-2026-141517 affects Strands Box, AWS's open-source sandbox for confining AI agents, used by the Bedrock AgentCore runtime
  • Bulletin 2026-207-AWS was published on December 2, 2026 at 11:30 AM PST, with a corrected version republished at 11:10 PM PST the same day
  • The sandbox's filesystem-grant check compared paths as text, so an alternate spelling of a path could bypass the restriction on access to Box's private state
  • Combined with replacement of the containment helper on relaunch, this could let a local actor controlling a sandboxed workload run code as the invoking user outside the sandbox
  • Affected versions are earlier than 0.2.0; the fix ships in version 0.2.0
  • The flaw is specific to macOS

What it means for AI builders

Strands Box underpins AWS's managed agent sandboxing for Bedrock AgentCore, so the flaw affects anyone running AI agents through that runtime on macOS. Because the bug lets code escape the sandbox and run as the invoking user, teams that rely on Strands Box to confine untrusted agent actions should treat the update as urgent rather than routine maintenance.

Workarounds and next steps

  • Do not grant workload write access to box_dir or its parent directory
  • Set box_dir using a path without the /System/Volumes/Data prefix
  • Upgrade immediately and patch any forked or derivative code

Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

AWS patches macOS sandbox escape flaw in Strands Box for Bedrock AgentCore | vibecoding.inc