PT-2026-6648

CVE-2026-25520

·

Published

2026-02-05

·

Updated

2026-02-09

Description by

CVSS 3.1
10
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SandboxJS versions prior to 0.8.29
Description SandboxJS is a JavaScript sandboxing library affected by an issue where the return values of functions are not properly wrapped. This allows attackers to use Object.values or Object.entries to obtain an array containing the host's Function constructor. By utilizing Array.prototype.at, the host's Function constructor can be accessed, enabling the execution of arbitrary code outside of the sandbox. The provided proof-of-concept code demonstrates how to leverage this to execute commands like 'ls -lah' using the child process module. The vulnerability allows for sandbox escape, potentially leading to remote code execution (RCE).
Recommendations Versions prior to 0.8.29 should be updated to version 0.8.29 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-58JH-XV4V-PCX4
Found an issue in the description? Have something to add? Feel free to write us 👾