Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
open-source-dependency-vulnerabilityproof-of-concept-release

SandboxJS Sandbox Escape via Unprotected AsyncFunction Constructor (CVE-2026-23830)

Updated 3mo agoFirst seen Jan 29, 20262 sources

CVE-2026-23830 is a maximum-severity (CVSS 10.0) sandbox-escape vulnerability in SandboxJS, a library intended to safely execute untrusted JavaScript. The issue allows attackers to break out of the sandbox and achieve arbitrary code execution on the host by leveraging gaps in SandboxJS’s “safe replacement” model for dangerous constructors.

The flaw stems from SandboxJS mapping the global Function constructor to a sandboxed equivalent, but (in affected versions) failing to similarly isolate the “Async” and generator constructor families: AsyncFunction, GeneratorFunction, and AsyncGeneratorFunction. Although these constructors are not directly exposed as globals, they can be obtained via an instance’s .constructor (e.g., (async () => {}).constructor); because the executor returns the native host AsyncFunction when it is not present in the safe-replacement map, an attacker can create new functions that execute in the global scope and bypass sandbox restrictions. SandboxJS 0.8.26 is reported as the patched version.

Share:
SandboxJS Sandbox Escape via Unprotected AsyncFunction Constructor (CVE-2026-23830)
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Jan 28, 20265mo ago

CVE-2026-23830 disclosure details SandboxJS sandbox escape

Public disclosure described CVE-2026-23830 as a maximum-severity flaw in SandboxJS caused by missing protections for asynchronous and generator function constructors. Attackers could access the native host AsyncFunction via the .constructor property and escape the sandbox to gain full host access.

SandboxJS releases version 0.8.26 to fix CVE-2026-23830

SandboxJS fixed a critical sandbox escape vulnerability in version 0.8.26 by properly isolating AsyncFunction, GeneratorFunction, and AsyncGeneratorFunction within its sandboxing mechanism. The flaw affected all versions prior to 0.8.26 and could allow arbitrary code execution outside the sandbox.

The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.