Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-25587: Sandbox escape in SandboxJS via Map.prototype.has overwrite

Published Feb 6, 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.70%54th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Nyariv
IdentifiersCVE-2026-25587CWE-471

CVE-2026-25587 is a critical sandbox escape vulnerability in SandboxJS, a JavaScript sandboxing library. In affected versions prior to 0.8.29, the library treats Map as part of its safe prototype set, allowing sandboxed code to obtain Map.prototype directly. Due to a flaw in the library’s handling of this object, an attacker can overwrite Map.prototype.has and thereby alter security-relevant behavior relied upon by the sandbox. By tampering with this core prototype method, untrusted code can subvert the sandbox’s internal logic, break confinement, and reach execution capabilities outside the intended isolated environment.

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 a complete escape from the SandboxJS execution boundary. An attacker who can run untrusted JavaScript inside the sandbox can manipulate internal security checks and achieve arbitrary code execution in the host context. This can result in full compromise of the application component embedding SandboxJS, including execution of attacker-controlled code outside the sandbox and bypass of the library’s security policy.

Mitigation

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

If immediate patching is not possible, prevent or suspend execution of untrusted code through SandboxJS wherever feasible. Additional temporary hardening may reduce exposure, including restricting access to Map.prototype within the sandbox context, preventing mutation of Map.prototype.has, freezing relevant built-in objects and prototypes where compatible, and limiting access to dynamic code execution primitives. These measures are compensating controls only and should not be treated as a substitute for upgrading.

Remediation

Patch, then assume compromise.

Upgrade SandboxJS to version 0.8.29 or later. The vulnerability is fixed in 0.8.29. Any deployments using version 0.8.28 or earlier should be updated immediately, especially where SandboxJS is used to execute attacker-controlled or otherwise untrusted JavaScript.

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-25587 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-25587?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-25587.
Is there a patch for CVE-2026-25587?
Upgrade SandboxJS to version 0.8.29 or later. The vulnerability is fixed in 0.8.29.
What products are affected by CVE-2026-25587?
Nyariv Sandboxjs.
How severe is CVE-2026-25587?
CVE-2026-25587 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 0.70% (54th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

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

View more in app →
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 activity3Community discussion across Reddit, Mastodon, and other social sources.