PT-2026-7165 · Sandboxjs · Sandboxjs

K14Uz

·

Published

2026-02-09

·

Updated

2026-03-20

·

CVE-2026-25881

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions SandboxJS versions prior to 0.8.31
Description SandboxJS is a JavaScript sandboxing library with a flaw that allows sandboxed code to modify host built-in prototypes. This is achieved by removing a protection flag through array literal intermediaries, enabling direct prototype mutation from within the sandbox. This prototype pollution can lead to remote code execution in applications that utilize these polluted properties in sensitive operations, such as using execSync(obj.cmd). The issue stems from the improper handling of the isGlobal taint flag when retrieving global prototype references from arrays.
Recommendations Update SandboxJS to version 0.8.31 or later.

Exploit

Fix

RCE

Prototype Pollution

Weakness Enumeration

Related Identifiers

BDU:2026-05058
CVE-2026-25881
GHSA-WW7G-4GWX-M7WJ

Affected Products

Sandboxjs