CVE-2026-26954
CRITICAL 10.0CVSS 3.1SandboxJS affected by a Sandbox Escape
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.
- Published
- 13 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-6r9f-759j-hjgv
- Sources
- NVDJSONOSV GHSA-6r9f-759j-hjgvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nyariv | sandboxjscpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:* |
< 0.8.34 | 0.8.34 |
| OSV | npm | @nyariv/sandboxjs | < 0.8.34 | 0.8.34 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-26954 · ADVISORY
- https://github.com/nyariv/SandboxJS/commit/e01505b1ea49f4f13956cd12b7ce01b83d2ee085 · WEB
- https://github.com/nyariv/SandboxJS · PACKAGE
- https://github.com/nyariv/SandboxJS/releases/tag/v0.8.34 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Mar 2026)