CVE-2026-34208Nyariv Sandboxjs
Critical 10.0 No auth needed
Follow: this CVE · Nyariv · Nyariv Sandboxjs We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Apr 6, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sandboxjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @nyariv/sandboxjs |
< 0.8.36 |
0.8.36 |
npm install @nyariv/sandboxjs@0.8.36 |
Per OSV / GitHub Advisories (GHSA-2gg9-6p7w-6cpj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nyariv | sandboxjs | < 0.8.36 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory