Critical severityNVD Advisory· Published Mar 13, 2026· Updated Mar 16, 2026
SandboxJS has a Sandbox Escape
CVE-2026-26954
Description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property. This vulnerability is fixed in 0.8.34.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@nyariv/sandboxjsnpm | < 0.8.34 | 0.8.34 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-6r9f-759j-hjgvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-26954ghsaADVISORY
- github.com/nyariv/SandboxJS/commit/e01505b1ea49f4f13956cd12b7ce01b83d2ee085ghsaWEB
- github.com/nyariv/SandboxJS/releases/tag/v0.8.34ghsaWEB
- github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.