Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nyariv/sandboxjs
  4. ›
  5. CVE-2026-25142

CVE-2026-25142: SandboxJS Vulnerable to Prototype Pollution -> Sandbox Escape -> RCE

February 2, 2026 (updated February 3, 2026)

SandboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution.

References

  • github.com/advisories/GHSA-9p4w-fq8m-2hp7
  • github.com/nyariv/SandboxJS
  • github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts
  • github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3
  • github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7
  • nvd.nist.gov/vuln/detail/CVE-2026-25142

Code Behaviors & Features

Detect and mitigate CVE-2026-25142 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.27

Fixed versions

  • 0.8.27

Solution

Upgrade to version 0.8.27 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@nyariv/sandboxjs/CVE-2026-25142.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:18 +0000.