Back to CVE records
Critical 10.0Published Feb 6, 2026

CVE-2026-25641SandboxJS has a sandbox escape via TOCTOU bug on keys in property accesses

Updated under an hour ago ()

Does this affect you?

It affects nyariv SandboxJS. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a mismatch between the key on which the validation is performed and the key used for accessing properties. Even though the key used in property accesses is annotated as string, this is never enforced. So, attackers can pass malicious objects that coerce to different string values when used, e.g., one for the time the key is sanitized using hasOwnProperty(key) and a different one for when the key is used for the actual property access. This vulnerability is fixed in 0.8.29.

CVSS
10.0 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-367
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 6, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
nyariv SandboxJS
nyariv:sandboxjs (from the name)
before 0.8.29
CNA record
nyariv sandboxjs
nyariv:sandboxjs
before 0.8.29
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch
  • x-refsource-misc, product

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.