{"id":"CVE-2026-26954","published":"2026-03-13T15:51:13Z","modified":"2026-03-16T17:06:55Z","title":"SandboxJS has a Sandbox Escape","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00692,"percentile":0.48218,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-6r9f-759j-hjgv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.34"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-16T17:06:51.837071Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.34"],"patched":["0.8.34"],"from":["GHSA-6r9f-759j-hjgv"],"provenance":"source"}],"summary":{"text":"SandboxJS, a JavaScript sandboxing library from nyariv, contains a sandbox escape flaw in versions prior to 0.8.34 that lets code obtain arrays containing Function. An attacker who can get code run inside the sandbox can use Object.fromEntries on such an array to construct a Function-valued property and break out of the sandbox, with no authentication or user interaction required and only the ability to supply code to the sandbox.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:11Z"},"euvd":{"id":"EUVD-2026-12043","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nyariv-sandboxjs-cve-2026-23830","parents":[{"from":"CVE-2026-25881","to":"CVE-2026-26954","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.31","toFixed":"0.8.34","daysApart":32},{"kind":"same-code","provenance":"machine","files":["src/executor.ts","src/utils.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/f369f8db26649f212a6a9a2e7a1624cb2f705b53","https://github.com/nyariv/SandboxJS/commit/e01505b1ea49f4f13956cd12b7ce01b83d2ee085"],"basis":"shared function","functions":["Scope"]}]}],"children":[{"from":"CVE-2026-26954","to":"CVE-2026-34217","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/executor.ts","src/utils.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/e01505b1ea49f4f13956cd12b7ce01b83d2ee085","https://github.com/nyariv/SandboxJS/commit/abc02f657279e51a4aaad2bc8f99f3e37a01b287"],"basis":"shared function","functions":["getGlobalProp"]}]}],"packageHistory":[{"cve":"CVE-2026-25587","published":"2026-02-06","fixed":"0.8.29","kev":false},{"cve":"CVE-2026-25641","published":"2026-02-06","fixed":"0.8.29","kev":false},{"cve":"CVE-2026-25881","published":"2026-02-09","fixed":"0.8.31","kev":false},{"cve":"CVE-2026-26954","published":"2026-03-13","fixed":"0.8.34","kev":false},{"cve":"CVE-2026-32723","published":"2026-03-18","fixed":"0.8.35","kev":false,"link":{"from":"CVE-2026-26954","to":"CVE-2026-32723","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.34","toFixed":"0.8.35","daysApart":5},{"kind":"same-code","provenance":"machine","files":["src/executor.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/e01505b1ea49f4f13956cd12b7ce01b83d2ee085","https://github.com/nyariv/SandboxJS/commit/cc8f20b4928afed5478d5ad3d1737ef2dcfaac29"],"basis":"shared file"}]}},{"cve":"CVE-2026-34208","published":"2026-04-06","fixed":"0.8.36","kev":false},{"cve":"CVE-2026-34211","published":"2026-04-06","fixed":"0.8.36","kev":false}],"package":"npm:@nyariv/sandboxjs"}}