CERT/CC and public reporting disclosed a critical vulnerability in Terrarium, the open-source Python sandbox developed by Cohere AI, that can allow arbitrary code execution and sandbox escape. Tracked as CVE-2026-5752 and VU#414811, the flaw arises from JavaScript prototype chain traversal in the Pyodide WebAssembly environment, enabling an attacker with local access to execute code with root privileges in the host Node.js process without user interaction or special privileges.
The vulnerability could let attackers access sensitive files, communicate with other services on the container network, and potentially escape the container entirely. Researcher Jeremy Brown is credited with discovering the issue, and reports indicate Terrarium is no longer actively maintained, making a vendor patch unlikely. Defenders are advised to disable user code submission where possible, restrict and segment network access, closely monitor container activity, use stronger container isolation and orchestration controls, deploy web application firewall protections where applicable, and keep supporting dependencies updated.

Track how attackers are adapting to this technology.
3 events from the most recent confirmed update back to the earliest known activity.
Public reporting described the Terrarium flaw as CVE-2026-5752 and said successful exploitation could yield root code execution on the host Node.js process, access to sensitive files, lateral reach to container-network services, and potential container escape. The report also noted Terrarium is no longer actively maintained, making a patch unlikely, and highlighted mitigation guidance instead.
CERT/CC published VU#414811 documenting a vulnerability in Terrarium that allows arbitrary code execution. The advisory identified the issue as affecting the sandbox's handling of untrusted code and served as the first public disclosure in the provided references.
Security researcher Jeremy Brown discovered a critical vulnerability in Cohere AI's open-source Terrarium Python sandbox. The flaw involves JavaScript prototype chain traversal in the Pyodide WebAssembly environment, enabling arbitrary code execution and possible container escape.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Follow how adversaries are adapting to this technology, and where it touches your stack today.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.