CVE-2026-25586: Vulnerability in Nyariv Sandboxjs

Critical. A sandbox escape is possible by shadowing hasOwnProperty on a sandbox object, which disables prototype whitelist enforcement in the property-access path. This permits direct access to __proto__ and other blocked prototype properties, enabling host Object.prototype pollution and persistent cross-sandbox impact.

npm, CWE-74

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-jjpw-65fv-8g48
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-74
Published
5 Feb 2026
Last change
17 Jun 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Nyariv Sandboxjs Before 0.8.29. Fixed in 0.8.29

Affected packages

Vulnerable version ranges and fixed releases

  • @nyariv/sandboxjs npm, Affected through 0.8.28. Fixed in 0.8.29

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related