Quick answers
- Is CVE-2026-5752 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-5752 being exploited in the wild.
- How severe is CVE-2026-5752?
- Critical severity, with a CVSS score of 9.3, published 14 April 2026.
- Which products and versions are affected?
- Cohere Terrarium 1.0.0 and earlier.
- Is there a fix for CVE-2026-5752?
- A patch was published on 2026-04-22: Version 1.0.1 released and repository archived Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-5752 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-5752?
- Check whether you run Cohere Terrarium at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A sandbox escape vulnerability exists in Cohere Terrarium due to improper configuration of the jsglobals object in service.ts. Specifically, the mock document object is created using a standard JavaScript object literal that inherits from Object.prototype. This allows code running within the Pyodide WebAssembly environment to traverse the prototype chain to reach the function constructor and access globalThis. From there, an attacker can access Node.js internals like require() to execute arbitrary system commands as root on the host container. The vulnerability is addressed in version 1.0.1, which is the final release before the project was archived.
Affected products
- Cohere cohere-terrarium 1.0.0 and earlier
Timeline
- 2026-02-19: other: Vendor notified
- 2026-04-14: disclosed: Initial CVE publication
- 2026-04-21: advisory: CERT/CC advisory published
- 2026-04-22: patched: Version 1.0.1 released and repository archived