# CVE-2026-26954: SandboxJS has a Sandbox Escape

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T13:46:08.000Z
- Modified: 2026-06-17T10:26:26.647Z
- Also known as: GHSA-6r9f-759j-hjgv
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nyariv SandboxJS: < 0.8.34; before 0.8.34
- @nyariv/sandboxjs (npm): before 0.8.34

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-26954](https://www.cve.org/CVERecord?id=CVE-2026-26954), CVE Terms of Use, modified 2026-03-16
- GitHub Advisory Database: [GHSA-6r9f-759j-hjgv](https://github.com/advisories/GHSA-6r9f-759j-hjgv), CC-BY-4.0, modified 2026-03-16
- NVD: [CVE-2026-26954](https://nvd.nist.gov/vuln/detail/CVE-2026-26954), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26954 · Whole record: https://cve.day/CVE-2026-26954.json · Rebuilt by cve.day 2026-11-25T22:59:15.874Z
