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
    • 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-25586

CVE-2026-25586: SandboxJS Sandbox Escape RCE Vulnerability

CVE-2026-25586 is a sandbox escape vulnerability in SandboxJS that enables remote code execution through prototype pollution. Attackers can bypass security controls to gain unauthorized access. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 13, 2026

CVE-2026-25586 Overview

A critical sandbox escape vulnerability exists in SandboxJS, a JavaScript sandboxing library, in versions prior to 0.8.29. The vulnerability allows attackers to bypass sandbox security controls by shadowing the hasOwnProperty method on a sandbox object. This technique disables prototype whitelist enforcement in the property-access path, permitting direct access to __proto__ and other blocked prototype properties. Successful exploitation enables host Object.prototype pollution with persistent cross-sandbox impact.

Critical Impact

This vulnerability enables complete sandbox escape with the ability to pollute the host Object.prototype, affecting all sandboxed environments and potentially compromising the entire application runtime.

Affected Products

  • SandboxJS versions prior to 0.8.29
  • Applications using vulnerable SandboxJS for JavaScript code sandboxing
  • npm packages dependent on vulnerable SandboxJS versions

Discovery Timeline

  • 2026-02-06 - CVE-2026-25586 published to NVD
  • 2026-02-06 - Last updated in NVD database

Technical Details for CVE-2026-25586

Vulnerability Analysis

This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly referred to as an injection vulnerability. The flaw exists in how SandboxJS validates property access within sandboxed JavaScript execution contexts.

The sandbox relies on prototype whitelist enforcement to prevent untrusted code from accessing dangerous properties like __proto__, constructor, and other prototype chain properties. However, the validation mechanism uses hasOwnProperty checks that can be circumvented when an attacker shadows this method on a sandbox object.

When hasOwnProperty is shadowed with a malicious implementation, the prototype whitelist enforcement fails silently, allowing the attacker to traverse the prototype chain and access blocked properties. This enables Object.prototype pollution on the host environment, which persists across sandbox instances and can affect all JavaScript execution within the application.

Root Cause

The root cause stems from insufficient hardening of the property access validation path in the SandboxJS execution engine. The library trusted the hasOwnProperty method without verifying it hadn't been tampered with or shadowed by malicious sandbox code. This architectural weakness allowed attackers to disable the security mechanism designed to prevent prototype chain access.

Attack Vector

The attack is network-exploitable with no authentication required and no user interaction needed. An attacker can craft malicious JavaScript code that shadows hasOwnProperty on a sandbox object, then leverages this to access __proto__ and pollute the host Object.prototype. The scope is changed (as indicated by the CVSS vector), meaning the vulnerability impacts resources beyond the vulnerable component—specifically, other sandbox instances and potentially the host application itself.

The attack flow involves:

  1. Creating or modifying a sandbox object to shadow hasOwnProperty
  2. Accessing blocked prototype properties like __proto__
  3. Polluting Object.prototype with malicious properties
  4. Achieving persistent impact across all sandbox instances

The security patch introduces changes to both src/SandboxExec.ts and src/parser.ts to harden the sandbox against this bypass technique:

typescript
   IOptionParams,
   IOptions,
   IScope,
+  LocalScope,
   replacementCallback,
   SandboxGlobal,
   SubscriptionSubject,

Source: GitHub Commit - SandboxJS

typescript
 import unraw from './unraw.js';
-import { CodeString, isLisp, LispType } from './utils.js';
+import { CodeString, isLisp, LispType, reservedWords } from './utils.js';
 
 export type DefineLisp<
   op extends LispType,

Source: GitHub Commit - SandboxJS

Detection Methods for CVE-2026-25586

Indicators of Compromise

  • Unexpected modifications to Object.prototype in application runtime
  • JavaScript code attempting to shadow hasOwnProperty within sandboxed contexts
  • Access attempts to __proto__, constructor, or prototype properties from sandbox code
  • Anomalous behavior in sandboxed code execution indicating prototype chain manipulation

Detection Strategies

  • Monitor sandbox execution logs for attempts to redefine or shadow built-in methods like hasOwnProperty
  • Implement runtime integrity checks for Object.prototype to detect pollution
  • Deploy application security monitoring to detect unexpected prototype modifications
  • Review npm dependency trees for vulnerable SandboxJS versions using npm audit

Monitoring Recommendations

  • Enable verbose logging in SandboxJS configurations to capture property access patterns
  • Set up alerts for prototype pollution detection in your application monitoring stack
  • Implement Content Security Policy (CSP) headers where applicable to limit script execution
  • Monitor for unusual error patterns that may indicate sandbox escape attempts

How to Mitigate CVE-2026-25586

Immediate Actions Required

  • Upgrade SandboxJS to version 0.8.29 or later immediately
  • Audit applications using SandboxJS for any signs of prototype pollution
  • Review sandboxed code execution logs for suspicious activity
  • Consider temporarily disabling sandboxed code execution if upgrade is not immediately possible

Patch Information

The vulnerability is fixed in SandboxJS version 0.8.29. The fix hardens the sandbox against code execution bypass by introducing LocalScope handling and incorporating reservedWords validation in the parser. The patch is available via the GitHub commit 67cb186c. Additional details are available in the GitHub Security Advisory GHSA-jjpw-65fv-8g48.

Workarounds

  • Implement additional input validation on code submitted to the sandbox before execution
  • Add runtime prototype freeze on critical objects (Object.freeze(Object.prototype)) as defense-in-depth
  • Deploy monitoring for prototype pollution patterns in production environments
  • Consider alternative sandboxing solutions if immediate upgrade is not feasible
bash
# Upgrade SandboxJS to patched version
npm update sandboxjs@0.8.29

# Or install specific patched version
npm install sandboxjs@^0.8.29

# 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
  • TypeRCE

  • Vendor/TechSandboxjs

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-74
  • Technical References
  • GitHub Commit - SandboxJS

  • GitHub Security Advisory GHSA-jjpw-65fv-8g48
  • Related CVEs
  • CVE-2026-25881: SandboxJS Sandbox Escape RCE Vulnerability

  • CVE-2026-25587: SandboxJS RCE Vulnerability

  • CVE-2026-25520: SandboxJS RCE Vulnerability

  • CVE-2026-25142: SandboxJS RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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