Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-25881: SandboxJS sandbox escape via host prototype pollution

Published Feb 9, 2026 · Updated 2 months 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.61%50th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Nyariv
IdentifiersCVE-2026-25881CWE-1321 · Improperly Controlled Modification…

CVE-2026-25881 is a sandbox escape vulnerability in SandboxJS affecting versions prior to 0.8.31. The flaw is caused by improper handling of SandboxJS's isGlobal protection marker: when a protected host global prototype reference such as Map.prototype or Set.prototype is inserted into an array literal and later retrieved, the protection taint is stripped. This laundering of the protection state allows sandboxed code to directly modify host built-in prototypes from within the sandbox. The result is persistent host-side prototype pollution that breaks sandbox isolation and can alter subsequent host application behavior. In applications that later consume polluted properties in sensitive execution paths, the flaw can be leveraged toward remote code execution.

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 allows untrusted sandboxed JavaScript to escape intended isolation boundaries and persistently mutate host built-in prototypes. This can corrupt application logic across the host process, affect subsequently created objects, and create attacker-controlled behavior in downstream code paths. Where the host application uses polluted properties in sensitive sinks, exploitation may lead to arbitrary command execution and effective full compromise of the host application context. Integrity impact is high due to persistent prototype mutation, confidentiality impact can be high if polluted execution paths expose secrets or privileged data, and availability may also be affected through application instability or denial of service.

Mitigation

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

If immediate patching is not possible, reduce exposure by avoiding execution of untrusted JavaScript in the same process as sensitive application logic. Run untrusted code in a separate process, container, or similarly isolated environment with minimal privileges. As a defense-in-depth measure, freeze or otherwise harden built-in prototypes before executing untrusted code, recognizing potential compatibility impact. Audit host code for dangerous gadget paths that consume attacker-influenced object properties in sensitive sinks such as command execution, dynamic code loading, or evaluation, and refactor those paths to avoid trust in inherited or user-controlled properties.

Remediation

Patch, then assume compromise.

Upgrade SandboxJS to version 0.8.31 or later. The fixed release preserves the relevant protection state across array operations and blocks the prototype-mutation path that enabled the escape. After upgrading, review any applications that executed untrusted code with vulnerable versions to determine whether host prototypes may have been modified during prior execution and restart affected processes as needed to clear polluted runtime state.

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-25881 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-25881?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-25881.
Is there a patch for CVE-2026-25881?
Upgrade SandboxJS to version 0.8.31 or later. The fixed release preserves the relevant protection state across array operations and blocks the prototype-mutation path that enabled the escape.
What products are affected by CVE-2026-25881?
Nyariv Sandboxjs.
How severe is CVE-2026-25881?
CVE-2026-25881 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 0.61% (50th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 activity7Community discussion across Reddit, Mastodon, and other social sources.