CVE-2026-5752: CWE-94 Improper Control of Generation of Code ('Code Injection') in Cohere cohere-terrarium
Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-5752) in Cohere's cohere-terrarium involves improper control of code generation (CWE-94) that leads to sandbox escape via JavaScript prototype chain traversal. Exploiting this flaw allows an attacker to execute arbitrary code with root privileges on the host process. The issue affects all versions of the product. No official patch or remediation level has been published yet, and no known exploits have been reported. The vulnerability is categorized under CWE-94 (Code Injection), CWE-400 (Resource Exhaustion), and CWE-284 (Improper Access Control).
Potential Impact
Successful exploitation results in arbitrary code execution with root privileges on the host system, effectively compromising the entire host environment where cohere-terrarium is running. This can lead to full system compromise, unauthorized access, and control over sensitive data and resources. No known exploits in the wild have been reported so far.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://kb.cert.org/vuls/id/414811 for current remediation guidance. Until an official fix is released, restrict access to the affected system and monitor for suspicious activity related to cohere-terrarium. Avoid running untrusted code within the affected environment. Follow vendor updates closely for patches or official mitigations.
CVE-2026-5752: CWE-94 Improper Control of Generation of Code ('Code Injection') in Cohere cohere-terrarium
Description
Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-5752) in Cohere's cohere-terrarium involves improper control of code generation (CWE-94) that leads to sandbox escape via JavaScript prototype chain traversal. Exploiting this flaw allows an attacker to execute arbitrary code with root privileges on the host process. The issue affects all versions of the product. No official patch or remediation level has been published yet, and no known exploits have been reported. The vulnerability is categorized under CWE-94 (Code Injection), CWE-400 (Resource Exhaustion), and CWE-284 (Improper Access Control).
Potential Impact
Successful exploitation results in arbitrary code execution with root privileges on the host system, effectively compromising the entire host environment where cohere-terrarium is running. This can lead to full system compromise, unauthorized access, and control over sensitive data and resources. No known exploits in the wild have been reported so far.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://kb.cert.org/vuls/id/414811 for current remediation guidance. Until an official fix is released, restrict access to the affected system and monitor for suspicious activity related to cohere-terrarium. Avoid running untrusted code within the affected environment. Follow vendor updates closely for patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- certcc
- Date Reserved
- 2026-04-07T16:13:06.702Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://kb.cert.org/vuls/id/414811","vendor":"CERT"}]
Threat ID: 69de849e82d89c981fdf5f7c
Added to database: 4/14/2026, 6:17:02 PM
Last enriched: 4/14/2026, 6:33:33 PM
Last updated: 4/14/2026, 9:52:19 PM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.