# CVE-2026-34208: SandboxJS: Sandbox integrity escape

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-03T21:44:39.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-2gg9-6p7w-6cpj
- Weaknesses: CWE-693, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nyariv SandboxJS: < 0.8.36; before 0.8.36
- @nyariv/sandboxjs (npm): before 0.8.36

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-34208](https://www.cve.org/CVERecord?id=CVE-2026-34208), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-2gg9-6p7w-6cpj](https://github.com/advisories/GHSA-2gg9-6p7w-6cpj), CC-BY-4.0, modified 2026-04-06
- NVD: [CVE-2026-34208](https://nvd.nist.gov/vuln/detail/CVE-2026-34208), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34208 · Whole record: https://cve.day/CVE-2026-34208.json · Rebuilt by cve.day 2026-11-25T22:59:18.016Z
