Skip to main content

Sandboxjs CVE-2026-25641

CRITICAL
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-02-06 security-advisories@github.com GHSA-7x3h-rm86-3342
10.0
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
Mar 12, 2026 - 21:54 vuln.today
PoC Detected
Feb 18, 2026 - 14:01 vuln.today
Public exploit code
Patch released
Feb 18, 2026 - 14:01 nvd
Patch available
CVE Published
Feb 06, 2026 - 20:16 nvd
CRITICAL 10.0

DescriptionGitHub Advisory

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.

AnalysisAI

SandboxJS has a fifth CVSS 10.0 escape via a TOCTOU race condition in sandbox validation, allowing code to slip through during the check-execute gap.

Technical ContextAI

SandboxJS < 0.8.29 has a CWE-367 TOCTOU race condition where sandboxed code can be modified between validation and execution, bypassing all sandbox checks.

RemediationAI

Update to 0.8.29+ immediately. For high-security use cases, consider V8 isolates instead.

Share

CVE-2026-25641 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy