What’s Vulnerable › Vulnerabilities
CVE-2026-24002: pyodide sandbox option is insecure
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-22 · updated 2026-06-17
- Weakness: CWE-74
Description
Grist is spreadsheet software using Python as its formula language. Grist offers several methods for running those formulas in a sandbox, for cases where the user may be working with untrusted spreadsheets. One such method runs them in pyodide, but pyodide on node does not have a useful sandbox barrier. If a user of Grist sets `GRIST_SANDBOX_FLAVOR` to `pyodide` and opens a malicious document, that document could run arbitrary processes on the server hosting Grist. The problem has been addressed in Grist version 1.7.9 and up, by running pyodide under deno. As a workaround, a user can use the gvisor-based sandbox by setting `GRIST_SANDBOX_FLAVOR` to `gvisor`.
Affected products
- gristlabs grist-core: before 1.7.9 — fixed in 1.7.9
How to fix
Upgrade to a fixed version: gristlabs grist-core 1.7.9. Check the vendor advisory for mitigations.
References
- https://github.com/gristlabs/grist-core/security/advisories/GHSA-7xvx-8pf2-pv5g
- https://support.getgrist.com/self-managed/#how-do-i-sandbox-documents
Get alerted when CVE-2026-24002 or the next vulnerability affects your stack