CVE-2026-34208 SandboxJS: Sandbox integrity escape
CriticalCVSS 10.0
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, SandboxJS blocks direct assignment to global objects (for example Math.random = ...), but this protection can be bypassed through an exposed callable constructor path: this.constructor.call(target, attackerObject). Because this.constructor resolves to the internal SandboxGlobal function and Function.prototype.call is allowed, attacker code can write arbitrary properties into host global objects and persist those mutations across sandbox instances in the same process. This vulnerability is fixed in 0.8.36.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nyariv SandboxJS | < 0.8.36; = < 0.8.36 | 0.8.36 | Fixed |
| nyariv SandboxJS(npm) | < 0.8.36 | 0.8.36 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nyariv SandboxJS | = < 0.8.36 | No fix listed |
| nyariv SandboxJS(npm) | < 0.8.36 | 0.8.36 |
| nyariv SandboxJS | < 0.8.36 | 0.8.36 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpj exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product