Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to intelligence
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

Critical SandboxJS Sandbox Escape Enables Host Remote Code Execution

Updated 1d agoFirst seen May 13, 20262 sources

A critical vulnerability in the npm package @nyariv/sandboxjs allows attackers to escape the JavaScript sandbox and execute arbitrary code on the host system. The issue, tracked as CVE-2026-43898, affects all versions through 0.9.5 and has been rated CVSS 10.0. Public reporting and GitHub advisory coverage describe the flaw as a sandbox escape that can be triggered without credentials or user interaction, creating a path to full host takeover when applications use the library to process untrusted JavaScript.

The bug stems from improper exposure of internal callback functionality during function property access, including caller, callee, and arguments, enabling attackers to recover the host Function constructor and run arbitrary JavaScript or system commands. Separate advisory reporting also describes a sandbox escape caused by a TOCTOU bug in key handling during property access, underscoring broader weaknesses in the package's isolation model. Maintainers released 0.9.6 to block access to the dangerous properties, and organizations using SandboxJS are being urged to upgrade immediately or stop executing untrusted code with the library.

Share:
Critical SandboxJS Sandbox Escape Enables Host Remote Code Execution
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

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

3 EVENTS
May 13, 20262mo ago

SandboxJS 0.9.6 released to block dangerous property access

The vulnerability was fixed in version 0.9.6 by blocking access to the caller, callee, and arguments properties that enabled exploitation. Users were advised to upgrade immediately or stop processing untrusted JavaScript with the library.

Critical SandboxJS RCE flaw disclosed as CVE-2026-43898

A critical vulnerability in @nyariv/sandboxjs affecting all versions through 0.9.5 was publicly disclosed as CVE-2026-43898, with reports stating it enables sandbox escape and full remote code execution on the host without credentials or user interaction. Coverage also noted a proof-of-concept and technical details showing abuse of function property access to recover the host Function constructor.

Feb 5, 20265mo ago

SandboxJS TOCTOU sandbox escape advisory published

A GitHub security advisory was published for a SandboxJS sandbox escape caused by a TOCTOU bug involving keys in property accesses. The advisory documents a security issue affecting the nyariv/SandboxJS project.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

2 LINKEDOpen in app
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.

Critical SandboxJS Sandbox Escape Enables Host Remote Code Execution | Mallory