{"id":"CVE-2026-25142","published":"2026-02-02T22:51:40Z","modified":"2026-02-04T16:53:07Z","title":"SandboxJS Prototype Pollution -> Sandbox Escape -> RCE","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.","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.01213,"percentile":0.69252,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3","tags":["x_refsource_MISC"]},{"url":"https://github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts#L368-L398","tags":["x_refsource_MISC"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":13.85},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.27"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-04T15:55:41.355946Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.27"],"patched":["0.8.27"],"from":["GHSA-9p4w-fq8m-2hp7"],"provenance":"source"}],"summary":{"text":"SandboxJS, a JavaScript sandboxing library from nyariv, fails to properly restrict the __lookupGetter__ method, which allows code to obtain prototype objects and escape the sandbox. An attacker who can submit code for evaluation inside the sandbox can exploit this without authentication, network-reachable access, or any user interaction, leading to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:03:31Z"},"euvd":{"id":"EUVD-2026-5407","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nyariv-sandboxjs-cve-2026-23830","children":[{"from":"CVE-2026-25142","to":"CVE-2026-25881","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/executor.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3","https://github.com/nyariv/SandboxJS/commit/f369f8db26649f212a6a9a2e7a1624cb2f705b53"],"basis":"shared function","functions":["addOps"]}]},{"from":"CVE-2026-25142","to":"CVE-2026-34217","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/executor.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3","https://github.com/nyariv/SandboxJS/commit/abc02f657279e51a4aaad2bc8f99f3e37a01b287"],"basis":"shared function","functions":["addOps"]}]}],"packageHistory":[{"cve":"CVE-2025-34146","published":"2025-07-31","fixed":"0.8.24","kev":false},{"cve":"CVE-2026-23830","published":"2026-01-27","fixed":"0.8.26","kev":false,"link":{"from":"CVE-2026-23830","to":"CVE-2026-25142","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.26","toFixed":"0.8.27","daysApart":6}]}},{"cve":"CVE-2026-25142","published":"2026-02-02","fixed":"0.8.27","kev":false},{"cve":"CVE-2026-25520","published":"2026-02-06","fixed":"0.8.29","kev":false},{"cve":"CVE-2026-25586","published":"2026-02-06","fixed":"0.8.29","kev":false},{"cve":"CVE-2026-25587","published":"2026-02-06","fixed":"0.8.29","kev":false}],"package":"npm:@nyariv/sandboxjs"}}