CVE-2026-5752

CVE-2026-5752

Published Apr 14, 2026 CVSS 3.1 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal.

Analysis

AI-generated

Technical impact

Cohere Terrarium contains a sandbox escape flaw that allows an attacker to execute arbitrary code with root privileges on the host system by traversing the JavaScript prototype chain. This vulnerability bypasses the intended isolation boundaries of the Terrarium environment, enabling complete takeover of the underlying host and allowing the attacker to read, modify, or delete any data and to install additional malicious software. The impact is severe, affecting confidentiality, integrity, and availability at the system level.

Affected Systems

The affected product is Cohere Terrarium. No specific version numbers were disclosed in the advisory, so any deployment of the component that is currently running is potentially vulnerable until a patch or definitive fix is applied. Administrators should review all instances of Cohere Terrarium in their environment to gauge exposure.

Risk and Exploitability

The CVSS score of 9.3 categorizes this flaw as critical. The EPSS score is not available, and the vulnerability is not yet catalogued in the CISA KEV list. The attack vector is inferred to be remote, as malicious JavaScript can be injected within the sandboxed environment, and the necessary conditions include a permissive JavaScript execution context that allows prototype modifications and host resource access. Organizations running Terrarium with untrusted or permissive scripting should consider this vulnerability the highest risk exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify whether an updated release of Cohere Terrarium is available that addresses this issue and apply it as soon as it is released.
  • Until a fix is found, run Terrarium with the least privileges possible, isolating it from the host filesystem and disabling any API that permits prototype chain modifications or access to system resources.
  • Continuously monitor vendor advisories, public security bulletins, and the repository’s release notes for notices of a patch or temporary mitigation, and update the deployment immediately when one is announced.

Generated by OpenCVE AI on April 14, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cohere
Cohere cohere-terrarium
Vendors & Products Cohere
Cohere cohere-terrarium
Type Values Removed Values Added
Weaknesses CWE-20
CWE-94
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal.
Title CVE-2026-5752
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Apr 23, 2026, 12:19 PM
Reserved
Apr 7, 2026, 4:13 PM
Status
Awaiting Analysis
Published
Apr 14, 2026, 6:17 PM
Modified
Jul 24, 2026, 9:10 AM