CVE-2026-24002CWE-74

pyodide sandbox option is insecure

Critical · published January 22, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
43.3
In the wild
Unconfirmed
What it is

🚨 A single malicious document can unleash chaos on your Grist server! This vulnerability lets attackers run arbitrary processes if you use an insecure sandbox. 🔥 Think of it like a restaurant where a chef trusts any recipe without checking for allergens. One wrong ingredient could lead to a disaster in the kitchen — similarly, a rogue spreadsheet can wreak havoc on your server if you're not careful! An attacker could exploit this flaw to execute harmful processes on the server, potentially leading to data breaches, service disruptions, or even complete system takeover. This vulnerability is absolutely devastating, as it puts your entire setup at risk!

Put simply

Think of it like a restaurant where a chef trusts any recipe without checking for allergens. One wrong ingredient could lead to a disaster in the kitchen — similarly, a rogue spreadsheet can wreak havoc on your server if you're not careful! This critical vulnerability occurs when Grist runs user-defined formulas in Pyodide, which lacks a sufficient sandbox barrier. If the `GRIST_SANDBOX_FLAVOR` is set to `pyodide`, a malicious document could run unrestricted code on the server.

What to do

An attacker could exploit this flaw to execute harmful processes on the server, potentially leading to data breaches, service disruptions, or even complete system takeover. This vulnerability is absolutely devastating, as it puts your entire setup at risk! To protect your Grist setup, immediately upgrade to version 1.7.9 or later, where this issue has been resolved. If upgrading isn't an option right now, switch the `GRIST_SANDBOX_FLAVOR` to `gvisor` as a temporary workaround. 🛡️ You've got this! Follow these steps, and you'll keep your Grist server safe and sound! 😊

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00520 · 43.3th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2026-01-22T02:26Z
EPSS history
Timeline
  • 22 JAN 02:26Z
    pyodide sandbox option is insecure
    cvelistv5