SandboxJS has a Sandbox Escape
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nyariv | SandboxJS | before 0.8.34 | 0.8.34 | Patch available | CNA |
| — | @nyariv/sandboxjs (npm) | before 0.8.34 | 0.8.34 | Patch available | GHSA-6r9f-759j-hjgv |
- SandboxJS Vendornyariv Affected before 0.8.34 Fixed in 0.8.34 Patch available CNA
- @nyariv/sandboxjs (npm) Vendor— Affected before 0.8.34 Fixed in 0.8.34 Patch available GHSA-6r9f-759j-hjgv
Remediation
- Fix · CNA SandboxJS (nyariv) Fixed in 0.8.34
- Fix · GHSA-6r9f-759j-hjgv @nyariv/sandboxjs (npm) Fixed in 0.8.34 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-26954
- 2026-10-03 Alias added: GHSA-6r9f-759j-hjgv
References
More nyariv Sandboxjs vulnerabilities
- TI-2026-31962 SandboxJS: Sandbox escape via Function.caller leakage of internal call op CVSS 3.1CRITICAL 10.0
- TI-2026-26503 SandboxJS: Sandbox integrity escape CVSS 3.1CRITICAL 10.0
- TI-2026-20741 SandboxJS has a sandbox escape via TOCTOU bug on keys in property accesses CVSS 3.1CRITICAL 10.0
- TI-2026-20694 SandboxJS has a Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-20693 SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution CVSS 3.1CRITICAL 10.0
- TI-2026-20629 SandboxJS has a Sandbox Escape CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-26954 · CVE Program
- CVE-2026-26954 · NVD
- FIRST EPSS
- GHSA-6r9f-759j-hjgv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences