Appsecure logo

CVE-2026-24002: Critical Vulnerability in Grist

A critical vulnerability in Grist allows arbitrary code execution on the server when using the insecure pyodide sandbox. Organizations must prioritize patching to mitigate this risk.

CRITICALCVSS 9 · Published January 22, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-24002 is a critical vulnerability found in Grist, a spreadsheet software that utilizes Python as its formula language. This vulnerability allows attackers to execute arbitrary processes on the server by exploiting the pyodide sandbox when the user opens a malicious document. The severity of this vulnerability is underscored by its CVSS score of 9.0, categorizing it as critical. Organizations using Grist should take immediate action to mitigate the risk associated with this vulnerability.

The vulnerability stems from the lack of a secure sandbox barrier in the pyodide implementation on node, which allows untrusted spreadsheets to run harmful code. If a user sets the environment variable GRIST_SANDBOX_FLAVOR to pyodide and opens a compromised document, it could lead to unauthorized access and control over the Grist server. As a result, organizations must prioritize patching immediately.

Grist has addressed the issue in version 1.7.9 and later by running pyodide under deno, which provides enhanced security. For those unable to upgrade immediately, a temporary workaround is available by setting the GRIST_SANDBOX_FLAVOR to gvisor, which uses a different sandboxing approach.

Due to the exploitation potential and the significant impact on confidentiality, integrity, and availability, swift action is critical for all organizations utilizing Grist. Delays in patching could expose systems to severe risks and potential breaches.

Organizations should actively monitor for any signs of exploitation and ensure that all users are aware of the risks associated with opening untrusted spreadsheets. Regular audits and security assessments can further enhance the organization's security posture.

Vulnerability Details

The official description of CVE-2026-24002 states that the vulnerability allows arbitrary code execution via an insecure sandbox for untrusted spreadsheets in Grist. The affected versions are below 1.7.9, with a critical CVSS score of 9.0 indicating high severity.

The vulnerability type is categorized under CWE-74, indicating improper neutralization in a sandbox environment. The publication date was January 22, 2026, and this vulnerability has been analyzed and confirmed by security advisories.

Technical Analysis

The root cause of this vulnerability lies in the use of the pyodide sandbox, which lacks adequate security measures. The attack vector is via network, with a high attack complexity. There are no privileges required for an attacker to exploit this vulnerability, and user interaction is not necessary, making it particularly dangerous.

The exploitation of this vulnerability could have a significant impact on confidentiality, integrity, and availability, as it allows attackers to execute arbitrary code on the server. The vulnerability poses a high risk due to its ability to change the scope of the application and affect all users.

Risk & Impact Analysis

Risk to organizations includes potential data breaches, unauthorized access, and service disruptions. The blast radius of this vulnerability is extensive, considering the critical role Grist plays in managing sensitive spreadsheet data. Organizations should assess their exposure and implement measures to mitigate risks associated with this vulnerability.

With a CVSS score of 9.0 and a known exploitation status of 'No', the urgency for patching is critical. Organizations should prioritize addressing this vulnerability in their patch cycle to avoid potential exploitation.

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

All versions prior to vendor patch (1.7.9) are affected. Organizations running grist-core should ensure they have updated to the latest version to mitigate this risk.

Mitigation & Remediation

Organizations must patch to Grist version 1.7.9 or later immediately. If upgrading is not feasible, configure the GRIST_SANDBOX_FLAVOR to gvisor for a temporary workaround. Additionally, organizations should implement security awareness training for users on the risks associated with untrusted documents.

Regular security assessments and penetration testing can help identify potential weaknesses in the deployment of Grist and ensure appropriate configurations are in place.

Organizations should validate remediation through continuous penetration testing to identify similar weaknesses.

Detection Guidance

To detect potential exploitation of this vulnerability, organizations should monitor logs for unusual script execution patterns and unexpected server processes. Behavioral anomalies in user interactions with Grist documents may also indicate attempts to exploit this vulnerability.

Network signatures associated with known attack patterns can aid in identifying malicious activity targeting Grist deployments.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-24002 highlights the ongoing challenges organizations face in managing third-party software dependencies securely. This vulnerability serves as a reminder of the importance of maintaining up-to-date software versions and applying security patches promptly.

Patterns emerging from this incident reinforce the necessity for organizations to adopt a proactive approach to vulnerability management, including regular security assessments and awareness training.

Lessons learned from this vulnerability should inform security teams' strategies to prioritize patch management and user training initiatives. For further reading on vulnerability management best practices, refer to our article on vulnerability management programs. Additionally, organizations should consider implementing penetration testing methodologies to enhance their defenses.

Organizations must prioritize being aware of vulnerabilities like CVE-2026-24002, as they can have far-reaching implications for security posture and operational integrity.

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

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.