Incident report · Supply chain

Cohere AI Sandbox Flaw Allows Root Code Execution

Terrarium was designed to sandbox arbitrary code execution inside Cohere's AI environment. CVE-2026-5752, rated CVSS 9.3, allowed full root code execution and container escape via JavaScript prototype chain traversal. It remains unclear how many sandboxes must be escaped before the industry reconsiders building them.

Discovered
Apr 22 2026
Failure mode
Supply chain
Impact
Arbitrary code execution with root privileges, container escape

Summary from the public record. The failure mode’s analysis follows.

The agent was fine. Everything it trusted was not.

A failure mode to test

The agent trusted a component it had never verified: a package, an extension, a skill, or a server that looked legitimate. When that component changed or was compromised, the agent carried the payload straight into a trusted environment.

This incident illustrates a failure mode to test. Whether a control stops it depends on the integration, policy and execution path; no Fencio prevention test is claimed here.

Say yes to the AI your business wants.

Book a 30-minute call. Bring your agents and your rules.