RCE in Nyariv Sandboxjs
CVE-2026-26954
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 50.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nyariv Sandboxjs — versions < 0.8.34
Weakness classification (CWE)
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv (Exploit, Vendor Advisory)