Remote code executionin nyariv SandboxJS.
Proof of concept public (GitHub).
SandboxJS is a JavaScript sandboxing library. Versions prior to 0.8.26 have a sandbox escape vulnerability due to `AsyncFunction` not being isolated in `SandboxFunction`. The library attempts to sandbox code execution by replacing the global `Function` constructor with a safe, sandboxed version (`SandboxFunction`). This is handled in `utils.ts` by mapping `Function` to `sandboxFunction` within a map used for lookups.
- Upgrade SandboxJS to 0.8.26 or later.
- Upgrade @nyariv/sandboxjs (npm) to 0.8.26 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Jan 2026CVE ID reserved by GitHub_M.
- 27 Jan 2026Published in the CVE List.
- 28 Jan 2026First public proof of concept on GitHub.
- 28 Jan 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other SandboxJS vulnerabilities
Same weakness: Code injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2026-23830: Remote code execution in nyariv SandboxJS. https://patchminder.com/cve/cve-2026-23830/ (accessed 5 December 2026).