Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-43898: SandboxJS sandbox escape via Function.caller leading to arbitrary host JavaScript execution

Published May 28, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v3.1
EPSS0.47%42nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Nyariv
IdentifiersCVE-2026-43898CWE-94 · Improper Control of Generation of…

CVE-2026-43898 is a critical sandbox escape vulnerability in the @nyariv/sandboxjs JavaScript sandboxing library affecting versions prior to 0.9.6 (including 0.9.5 and earlier). Sandbox-defined functions improperly expose sensitive function properties such as Function.caller, which allows sandboxed code to recover the internal host-side runtime callback LispType.Call. Because this callback can then be invoked with attacker-controlled fake context and obj/parameter values, an attacker can abuse the runtime’s trust assumptions to extract blocked host statics, recover the real host Function constructor, and escape the sandbox boundary. Once the genuine host Function constructor is obtained, the attacker can execute arbitrary JavaScript in the host environment. Supporting context indicates the vulnerable logic is in SandboxJS property access handling, specifically in prop.ts within addOps, where access to caller, callee, and arguments was not properly blocked.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in a complete sandbox escape and arbitrary code execution in the host JavaScript environment. In Node.js deployments, this can lead to full remote code execution on the underlying host, including execution of system commands via built-in modules such as child_process. The impact spans confidentiality, integrity, and availability, because an attacker can access sensitive host data, modify application or system state, and disrupt service operation. The vulnerability crosses the intended isolation boundary between untrusted sandboxed code and the host runtime.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, do not process or execute untrusted JavaScript with affected SandboxJS versions. Reduce exposure by disabling any feature that accepts attacker-controlled scripts, isolating the service at the OS/container level, and applying strict runtime containment so that a sandbox escape does not directly yield host compromise. However, the primary effective mitigation is upgrading to 0.9.6 or later; no complete temporary workaround is documented beyond avoiding untrusted script execution.

Remediation

Patch, then assume compromise.

Upgrade @nyariv/sandboxjs to version 0.9.6 or later. Version 0.9.6 fixes the issue by blocking access to the dangerous function properties caller, callee, and arguments from sandboxed code, preventing leakage of the internal LispType.Call callback and the subsequent recovery of the host Function constructor.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
NyarivSandboxjsapplication
FAQ

Frequently asked questions

Is CVE-2026-43898 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2026-43898 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-43898?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-43898.
Is there a patch for CVE-2026-43898?
Upgrade @nyariv/sandboxjs to version 0.9.6 or later. Version 0.9.6 fixes the issue by blocking access to the dangerous function properties caller, callee, and arguments from sandboxed code, preventing leakage of the internal LispType.Call callback and the subsequent recovery of the host Function constructor.
What products are affected by CVE-2026-43898?
Nyariv Sandboxjs.
How severe is CVE-2026-43898?
CVE-2026-43898 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 0.47% (42nd percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity9Community discussion across Reddit, Mastodon, and other social sources.