CVE-2026-34208
CRITICAL 10.0CVSS 3.1SandboxJS: Sandbox integrity escape
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.
- Published
- 6 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-693CWE-915
- Also known as
- GHSA-2gg9-6p7w-6cpj
- Sources
- NVDJSONOSV GHSA-2gg9-6p7w-6cpjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nyariv | sandboxjscpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:* |
< 0.8.36 | 0.8.36 |
| OSV | npm | @nyariv/sandboxjs | < 0.8.36 | 0.8.36 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpj · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34208 · ADVISORY
- https://github.com/nyariv/SandboxJS · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Apr 2026)