{"id":"CVE-2026-32723","published":"2026-03-18T21:27:35Z","modified":"2026-03-19T15:51:43Z","title":"SandboxJS timers have an execution-quota bypass (cross-sandbox currentTicks race)","vendor":"nyariv","product":"SandboxJS","tier":"tail","description":{"text":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.35, SandboxJS timers have an execution-quota bypass. A global tick state (`currentTicks.current`) is shared between sandboxes. Timer string handlers are compiled at execution time using that global tick state rather than the scheduling sandbox's tick object. In multi-tenant / concurrent sandbox scenarios, another sandbox can overwrite `currentTicks.current` between scheduling and execution, causing the timer callback to run under a different sandbox's tick budget and bypass the original sandbox's execution quota/watchdog. Version 0.8.35 fixes this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05657,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7p5m-xrh7-769r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nyariv/SandboxJS/commit/cc8f20b4928afed5478d5ad3d1737ef2dcfaac29","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.13},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"nyariv","affectedVersions":[{"vendor":"nyariv","product":"SandboxJS","versions":["< 0.8.35"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-19T15:51:03.535740Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nyariv/sandboxjs","vulnerableRanges":["<0.8.35"],"patched":["0.8.35"],"from":["GHSA-7p5m-xrh7-769r"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-12971","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nyariv-sandboxjs-cve-2026-23830","parents":[{"from":"CVE-2026-23830","to":"CVE-2026-32723","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/eval.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/345aee6566e47979dee5c337b925b141e7f78ccd","https://github.com/nyariv/SandboxJS/commit/cc8f20b4928afed5478d5ad3d1737ef2dcfaac29"],"basis":"shared function","functions":["sandboxFunction"]}]},{"from":"CVE-2026-25881","to":"CVE-2026-32723","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/eval.ts","src/executor.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/f369f8db26649f212a6a9a2e7a1624cb2f705b53","https://github.com/nyariv/SandboxJS/commit/cc8f20b4928afed5478d5ad3d1737ef2dcfaac29"],"basis":"shared function","functions":["_execNoneRecurse"]}]}],"children":[{"from":"CVE-2026-32723","to":"CVE-2026-34217","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.35","toFixed":"0.8.36","daysApart":19},{"kind":"same-code","provenance":"machine","files":["src/eval.ts","src/executor.ts"],"commits":["https://github.com/nyariv/SandboxJS/commit/cc8f20b4928afed5478d5ad3d1737ef2dcfaac29","https://github.com/nyariv/SandboxJS/commit/abc02f657279e51a4aaad2bc8f99f3e37a01b287"],"basis":"shared function","functions":["_execNoneRecurse","sandboxAsyncFunction","sandboxFunction","sandboxedEval"]}]}],"packageHistory":[{"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,"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-32723","published":"2026-03-18","fixed":"0.8.35","kev":false},{"cve":"CVE-2026-34208","published":"2026-04-06","fixed":"0.8.36","kev":false,"link":{"from":"CVE-2026-32723","to":"CVE-2026-34208","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.35","toFixed":"0.8.36","daysApart":19}]}},{"cve":"CVE-2026-34211","published":"2026-04-06","fixed":"0.8.36","kev":false,"link":{"from":"CVE-2026-32723","to":"CVE-2026-34211","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nyariv/sandboxjs","fromFixed":"0.8.35","toFixed":"0.8.36","daysApart":19}]}},{"cve":"CVE-2026-34217","published":"2026-04-06","fixed":"0.8.36","kev":false}],"package":"npm:@nyariv/sandboxjs"}}