The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32723

CVE-2026-32723: Nyariv Sandboxjs Privilege Escalation

CVE-2026-32723 is a privilege escalation vulnerability in Nyariv Sandboxjs that allows execution quota bypass in multi-tenant scenarios. This article covers technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-32723 Overview

SandboxJS is a JavaScript sandboxing library that provides execution isolation and quota enforcement for untrusted code. Prior to version 0.8.35, a race condition vulnerability exists in the timer execution mechanism where a global tick state (currentTicks.current) is shared between sandboxes. Timer string handlers are compiled at execution time using this global tick state rather than the scheduling sandbox's tick object. In multi-tenant or concurrent sandbox scenarios, another sandbox can overwrite currentTicks.current between scheduling and execution, causing the timer callback to run under a different sandbox's tick budget and bypass the original sandbox's execution quota/watchdog.

Critical Impact

This race condition allows malicious code in one sandbox to consume another sandbox's execution quota, effectively bypassing resource isolation controls designed to prevent denial of service and resource abuse in multi-tenant JavaScript execution environments.

Affected Products

  • nyariv sandboxjs (versions prior to 0.8.35)
  • Node.js applications using SandboxJS for multi-tenant code execution
  • Platforms implementing SandboxJS for untrusted JavaScript isolation

Discovery Timeline

  • 2026-03-18 - CVE CVE-2026-32723 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32723

Vulnerability Analysis

This vulnerability is classified as CWE-362 (Race Condition). The core issue lies in the architectural design of how SandboxJS manages execution quotas across concurrent sandboxes. The library uses a global currentTicks.current variable that tracks tick consumption for quota enforcement. When timer callbacks are scheduled, they should be bound to the originating sandbox's tick budget. However, the actual binding occurs at execution time rather than scheduling time, creating a Time-of-Check Time-of-Use (TOCTOU) window.

In multi-tenant deployments where multiple sandboxes execute concurrently, this shared mutable state allows one sandbox to manipulate the tick context before another sandbox's timer callback executes. The result is that resource-intensive operations can be charged to an unrelated sandbox's quota, undermining the fundamental isolation guarantees that sandbox environments are designed to provide.

Root Cause

The root cause is the use of shared global state (currentTicks.current) for tracking per-sandbox execution quotas. Timer string handlers dynamically reference this global variable during compilation and execution rather than capturing the sandbox-specific tick object at scheduling time. This violates the principle of proper resource isolation in multi-tenant systems, where each sandbox should maintain its own independent quota tracking that cannot be influenced by other sandboxes.

Attack Vector

The attack requires local access with low privileges and exploits the timing window between timer scheduling and execution. An attacker controlling one sandbox can schedule CPU-intensive operations timed to execute when currentTicks.current points to a victim sandbox's tick budget. The attack flow involves:

  1. Attacker schedules timer callbacks with resource-intensive payloads
  2. Attacker manipulates timing to align execution with victim sandbox's active tick context
  3. When the timer fires, the expensive operations consume the victim's quota instead of the attacker's
  4. This can lead to denial of service for the victim sandbox or allow the attacker to exceed their own quota limits

The security patch removes the direct import of currentTicks from executor.js in the evaluation module:

typescript
-import { createFunction, createFunctionAsync, currentTicks } from './executor.js';
+import { createFunction, createFunctionAsync } from './executor.js';
import parse, { Lisp, lispifyFunction } from './parser.js';
import { IExecContext, LispType, Ticks } from './utils.js';

Source: GitHub Commit Details

Detection Methods for CVE-2026-32723

Indicators of Compromise

  • Unexpected quota exhaustion in sandboxes that should have ample remaining execution budget
  • Timer callbacks executing with tick contexts mismatched from their originating sandbox
  • Anomalous patterns of currentTicks.current modifications across concurrent sandbox boundaries
  • Resource consumption metrics showing cross-sandbox attribution discrepancies

Detection Strategies

  • Implement logging for tick state transitions to identify unexpected context switches during timer execution
  • Monitor for sandboxes that consistently escape quota enforcement while others experience premature termination
  • Audit application dependencies for SandboxJS versions below 0.8.35
  • Deploy runtime monitoring for shared state access patterns in sandbox execution environments

Monitoring Recommendations

  • Enable verbose logging for sandbox timer scheduling and execution events
  • Track execution quota metrics per sandbox to identify statistical anomalies
  • Implement alerts for sandbox quota bypass events or unexplained quota exhaustion
  • Monitor npm dependency trees for vulnerable SandboxJS package versions

How to Mitigate CVE-2026-32723

Immediate Actions Required

  • Upgrade SandboxJS to version 0.8.35 or later immediately
  • Audit all applications using SandboxJS in multi-tenant or concurrent execution scenarios
  • Review logs for evidence of quota bypass exploitation attempts
  • Consider temporarily disabling timer functionality in sandboxes until patches can be applied

Patch Information

The fix is available in SandboxJS version 0.8.35. The patch modifies the timer execution mechanism to capture the sandbox-specific tick object at scheduling time rather than referencing the shared global state at execution time. This ensures each timer callback is bound to the correct sandbox's quota regardless of concurrent execution patterns.

For detailed patch information, refer to the GitHub Security Advisory GHSA-7p5m-xrh7-769r and the security patch commit.

Workarounds

  • Avoid running multiple sandboxes concurrently in the same process until patching is complete
  • Implement application-level quota enforcement as an additional defense layer
  • Disable string-based timer handlers (setTimeout with string arguments) in sandboxed code
  • Consider process-level isolation for high-security multi-tenant scenarios as a defense-in-depth measure
bash
# Update SandboxJS to patched version
npm update sandboxjs@0.8.35

# Verify installed version
npm list sandboxjs

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechNyariv Sandboxjs

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-362
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-7p5m-xrh7-769r
  • Related CVEs
  • CVE-2026-34208: Nyariv SandboxJS Auth Bypass Vulnerability

  • CVE-2026-34211: Nyariv Sandboxjs DOS Vulnerability

  • CVE-2026-34217: Nyariv Sandboxjs Information Disclosure

  • CVE-2026-26954: Nyariv Sandboxjs RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English