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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-01-22T02:26:28.765Z
- Modified: 2026-06-17T10:22:27.640Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- gristlabs grist-core: < 1.7.9
- getgrist grist-core: before 1.7.9

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-24002](https://www.cve.org/CVERecord?id=CVE-2026-24002), CVE Terms of Use, modified 2026-01-22
- NVD: [CVE-2026-24002](https://nvd.nist.gov/vuln/detail/CVE-2026-24002), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24002 · Whole record: https://cve.day/CVE-2026-24002.json · Rebuilt by cve.day 2026-11-25T22:59:13.044Z
