Critical severity · published Feb 9, 2026
CVE-2026-25881
@nyariv/sandboxjs has host prototype pollution from sandbox via array intermediary (sandbox escape)
10.0
CVSS
0.6%
EPSS
No
On KEV
Description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.31, a sandbox escape vulnerability allows sandboxed code to mutate host built-in prototypes by laundering the isGlobal protection flag through array literal intermediaries. When a global prototype reference (e.g., Map.prototype, Set.prototype) is placed into an array and retrieved, the isGlobal taint is stripped, permitting direct prototype mutation from within the sandbox. This results in persistent host-side prototype pollution and may enable RCE in applications that use polluted properties in sensitive sinks (example gadget: execSync(obj.cmd)). This vulnerability is fixed in 0.8.31.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SA
SandboxJS · nyariv
< 0.8.31 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-25881
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-25881
Patch
https://github.com/nyariv/SandboxJS/commit/f369f8db26649f212a6a9a2e7a1624cb2f705b53
Exploit
https://github.com/nyariv/SandboxJS/security/advisories/GHSA-ww7g-4gwx-m7wj
More from SandboxJS
10.0
CVE-2026-43898
SandboxJS: Sandbox escape via Function.caller leakage of internal call op
10.0
CVE-2026-34208
SandboxJS: Sandbox integrity escape
10.0
CVE-2026-26954
SandboxJS has a Sandbox Escape
10.0
CVE-2026-25586
SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution
10.0
CVE-2026-25520
SandboxJS has a Sandbox Escape
