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

CVE-2026-24002: Grist Spreadsheet RCE Vulnerability

CVE-2026-24002 is a remote code execution vulnerability in Grist spreadsheet software affecting pyodide sandbox configurations. Attackers can execute arbitrary processes on the server. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: January 23, 2026

CVE-2026-24002 Overview

CVE-2026-24002 is a critical sandbox escape vulnerability affecting Grist, an open-source spreadsheet software that uses Python as its formula language. The vulnerability exists in the pyodide-based sandbox implementation when running on Node.js, which fails to provide an effective security barrier. Attackers who can trick users into opening a malicious Grist document can execute arbitrary processes on the server hosting Grist.

Critical Impact

Remote attackers can achieve arbitrary process execution on the server by crafting malicious spreadsheet documents when the GRIST_SANDBOX_FLAVOR environment variable is set to pyodide.

Affected Products

  • Grist versions prior to 1.7.9
  • Self-hosted Grist instances with GRIST_SANDBOX_FLAVOR set to pyodide
  • Grist deployments using pyodide on Node.js for formula sandboxing

Discovery Timeline

  • January 22, 2026 - CVE CVE-2026-24002 published to NVD
  • January 22, 2026 - Last updated in NVD database

Technical Details for CVE-2026-24002

Vulnerability Analysis

This vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly referred to as an injection vulnerability. The core issue stems from the pyodide runtime on Node.js lacking adequate sandboxing capabilities that would normally isolate formula execution from the underlying server environment.

Grist provides spreadsheet functionality where formulas are written in Python and executed server-side. To protect against malicious formulas in untrusted documents, Grist offers multiple sandboxing mechanisms. However, when users configure GRIST_SANDBOX_FLAVOR=pyodide, the sandbox barrier is ineffective because pyodide running on Node.js does not provide the necessary isolation guarantees.

An attacker can craft a malicious Grist document containing specially constructed Python formulas. When this document is opened by a user on a vulnerable Grist instance, these formulas escape the intended sandbox and execute arbitrary processes directly on the host server with the same privileges as the Grist process.

Root Cause

The root cause is the fundamental architectural limitation of pyodide when running under Node.js. Unlike browser-based WebAssembly environments where pyodide benefits from browser sandboxing, the Node.js environment does not provide equivalent isolation. This means Python code executed through pyodide on Node.js has access to system resources and can spawn processes, effectively bypassing the intended formula sandbox.

Attack Vector

The attack requires a network-accessible Grist instance configured with the vulnerable pyodide sandbox flavor. The attacker does not need authentication to exploit this vulnerability—they only need to convince a user to open a malicious document. The attack works through the following chain:

  1. Attacker creates a malicious Grist document containing weaponized Python formulas
  2. Attacker distributes the document through social engineering or other means
  3. A user opens the document on a Grist instance with GRIST_SANDBOX_FLAVOR=pyodide
  4. The malicious formula executes, escaping the sandbox and running arbitrary processes on the server

The exploitation mechanism leverages the ability of Python code within pyodide on Node.js to access Node.js APIs or system calls that should normally be restricted in a sandboxed environment. For technical details on the vulnerability, see the GitHub Security Advisory.

Detection Methods for CVE-2026-24002

Indicators of Compromise

  • Unexpected child processes spawned by the Grist server process
  • Unusual network connections originating from the Grist server
  • Suspicious Python formula content in Grist documents containing system command references
  • Log entries indicating formula execution errors related to system access attempts

Detection Strategies

  • Monitor the GRIST_SANDBOX_FLAVOR environment variable in all Grist deployments to identify instances using the vulnerable pyodide configuration
  • Implement process monitoring to detect child process creation from the Grist application
  • Review access logs for unusual document upload or opening activity
  • Deploy endpoint detection and response (EDR) solutions like SentinelOne to detect sandbox escape attempts

Monitoring Recommendations

  • Enable detailed logging for Grist formula execution events
  • Configure alerts for any process spawning activity from the Grist server process
  • Monitor for lateral movement attempts originating from Grist server infrastructure
  • Implement file integrity monitoring on the Grist server to detect unauthorized modifications

How to Mitigate CVE-2026-24002

Immediate Actions Required

  • Upgrade Grist to version 1.7.9 or later immediately
  • If immediate upgrade is not possible, change GRIST_SANDBOX_FLAVOR from pyodide to gvisor as a workaround
  • Audit all Grist instances in your environment to identify vulnerable configurations
  • Review recent document activity for signs of exploitation

Patch Information

The Grist development team has addressed this vulnerability in version 1.7.9 and later by running pyodide under Deno instead of Node.js. Deno provides better security sandboxing capabilities, effectively closing the sandbox escape vector. Organizations should upgrade to version 1.7.9 or later as soon as possible.

For more information on sandboxing options, refer to the Grist Support Documentation.

Workarounds

  • Set GRIST_SANDBOX_FLAVOR to gvisor instead of pyodide for stronger sandbox isolation
  • Restrict access to Grist instances to trusted users only until patching is complete
  • Implement network segmentation to limit the impact of potential server compromise
  • Consider blocking document uploads from untrusted sources until the upgrade is deployed
bash
# Configuration example - Switch to gvisor sandbox
export GRIST_SANDBOX_FLAVOR=gvisor

# Verify the sandbox configuration
env | grep GRIST_SANDBOX_FLAVOR

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGrist

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability0.05%

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

  • Grist Support Documentation
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | 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