Live threats

All CVEs / Nyariv

CVE-2026-34208Nyariv Sandboxjs

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
—
Auth required
No
Published
Apr 6, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-693, CWE-915
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sandboxjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
nyarivsandboxjs< 0.8.36

Official sources

References

Links published by the sources. Open them with care.