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

CVE-2026-25641: @nyariv/sandboxjs vulnerable to sandbox escape via TOCTOU bug on keys in property accesses

February 5, 2026 (updated February 6, 2026)

A sandbox escape vulnerabilities due to a mismatch between the key on which the validation is performed and the key used for accessing properties.

References

  • github.com/advisories/GHSA-7x3h-rm86-3342
  • github.com/nyariv/SandboxJS
  • github.com/nyariv/SandboxJS/blob/6103d7147c4666fe48cfda58a4d5f37005b43754/src/executor.ts
  • github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3
  • github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342
  • nvd.nist.gov/vuln/detail/CVE-2026-25641

Code Behaviors & Features

Detect and mitigate CVE-2026-25641 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.29

Fixed versions

  • 0.8.29

Solution

Upgrade to version 0.8.29 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-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 07 Feb 2026 12:18:05 +0000.