CyberSIXT Search
Original

The Hacker Newsinfo@thehackernews.com (The Hacker News)

Cohere AI Terrarium Sandbox Flaw Enables Root Code Execution, Container Escape

A critical vulnerability has been disclosed in the Python-based sandbox Terrarium, developed by Cohere AI, tracked as CVE-2026-5752 and rated 9.3 on the CVSS scale, which could lead to arbitrary code execution with root privileges on a host process.

According to CERT/CC, the root cause involves a JavaScript prototype chain traversal in the Pyodide WebAssembly environment that enables code execution with elevated privileges inside the container, allowing sandbox escapes and potential access to sensitive files such as /etc/passwd. The Terrarium project is open source, runs as a Docker-deployed container, and is used to execute untrusted code written by users or generated with an LLM; it runs on Pyodide and has been forked 56 times and starred 312 times.

Security researchers note that exploitation requires local access and does not require user interaction or elevated privileges, and the project is no longer actively maintained, making patching unlikely.

Mitigations recommended by CERT/CC include disabling code submission to the sandbox where possible, network segmentation, deploying a Web Application Firewall, monitoring container activity, limiting access, and using secure container orchestration; SentinelOne cautioned that prototype pollution via traversal bypasses the sandbox’s intended boundaries.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device