{"id":"CVE-2026-24002","state":"PUBLISHED","title":"pyodide sandbox option is insecure","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`.","publishedAt":"2026-01-22T02:26:28.765Z","updatedAt":"2026-01-22T12:54:32.232Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["gristlabs grist-core"],"affected":[{"vendor":"gristlabs","product":"grist-core","versions":[{"version":"< 1.7.9","status":"affected"}]}],"references":["https://github.com/gristlabs/grist-core/security/advisories/GHSA-7xvx-8pf2-pv5g","https://support.getgrist.com/self-managed/#how-do-i-sandbox-documents"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24002.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24002","state":"PUBLISHED","datePublished":"2026-01-22T02:26:28.765Z","dateUpdated":"2026-01-22T12:54:32.232Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-19T18:49:20.658Z"},"containers":{"cna":{"title":"pyodide sandbox option is insecure","descriptions":[{"lang":"en","value":"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":[{"vendor":"gristlabs","product":"grist-core","versions":[{"version":"< 1.7.9","status":"affected"}]}],"references":[{"url":"https://github.com/gristlabs/grist-core/security/advisories/GHSA-7xvx-8pf2-pv5g","name":"https://github.com/gristlabs/grist-core/security/advisories/GHSA-7xvx-8pf2-pv5g","tags":["x_refsource_CONFIRM"]},{"url":"https://support.getgrist.com/self-managed/#how-do-i-sandbox-documents","name":"https://support.getgrist.com/self-managed/#how-do-i-sandbox-documents","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","lang":"en","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-22T02:26:28.765Z"},"source":{"advisory":"GHSA-7xvx-8pf2-pv5g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-22T12:52:12.413052Z","id":"CVE-2026-24002","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-22T12:54:32.232Z"}}]}}}