Vulnerability in Nyariv Sandboxjs
CVE-2026-25641
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (43.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 43.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Nyariv Sandboxjs — versions < 0.8.29
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-25641?
- CVE-2026-25641 is a critical-severity vulnerability in Nyariv Sandboxjs, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 10.0/10. Published 2026-02-06.
- How severe is CVE-2026-25641?
- Critical severity. CVSS v3 base score is 10.0 out of 10.