CVE-2026-25881
CWE-1321Published: February 9, 2026· Updated: Jun 17, 2026
Official 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.
Risk Analysis
SandboxJS is vulnerable to a sandbox escape that allows attackers to mutate host prototypes, potentially leading to remote code execution. This is a critical issue due to the potential for complete host compromise from within the sandbox.
No public exploit is known, and it is not in the KEV catalog. The vulnerability is remotely exploitable with low complexity.
Upgrade SandboxJS to version 0.8.31 or later to fix the prototype protection logic.
Technical Analysis
CVE-2026-25881 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 10.0.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-1321)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-25881 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts