# CVE-2025-68668: DEF CON 34: One Pyodide Escape Broke the Sandbox in Seven Products at Once

> CVE-2025-68668 is a critical-severity remote code execution issue in n, an AI agent. Affected: n8n (CVE-2025-68668), Grist (CVE-2026-24002), Cohere Terrarium (CVE-2026-61522), Hugging Face smolagents (CVE-2026-10613), langchain-sandbox, stlite, cibuildwheel.

- **Canonical URL:** https://catalog.anomity.ai/vuln/cve-2025-68668
- **Aliases:** ti-074
- **Severity:** critical
- **Attack type:** Remote code execution, Sandbox escape
- **Component:** n (AI agent)
- **Exploited in the wild:** no known exploitation
- **Published:** 2026-08-10
- **Last verified:** 2026-11-01
- **JSON:** https://catalog.anomity.ai/api/entries/vuln/cve-2025-68668

## Summary

Cyera researchers Vladimir Tokarev and Saar Pearl showed that products relying on Pyodide for sandboxed Python were enforcing their restrictions only at the Python level, while the ctypes module and Emscripten-exported functions offered a path straight into the JavaScript host runtime. The same escape reproduced across workflow automation, spreadsheets, AI agent runtimes, desktop apps and CI tooling: n8n (CVE-2025-68668, 9.9), Cohere Terrarium (CVE-2026-61522, 9.3), Grist (CVE-2026-24002, 9.1), Hugging Face smolagents (CVE-2026-10613, 8.3), plus langchain-sandbox, stlite and cibuildwheel. Maintainer responses diverged sharply: some re-architected, some archived the component, and some held that isolation is the deployer's responsibility.

## Affected versions

| Affected | Fixed in |
| --- | --- |
| n8n (CVE-2025-68668), Grist (CVE-2026-24002), Cohere Terrarium (CVE-2026-61522), Hugging Face smolagents (CVE-2026-10613), langchain-sandbox, stlite, cibuildwheel | no fixed version listed |

## Am I affected by CVE-2025-68668?

You are affected if you run n8n (CVE-2025-68668), Grist (CVE-2026-24002), Cohere Terrarium (CVE-2026-61522), Hugging Face smolagents (CVE-2026-10613), langchain-sandbox, stlite, cibuildwheel.

## How do I fix CVE-2025-68668?

Patch each affected product to its fixed release, and where the maintainer declined to fix, stop counting Pyodide as an isolation boundary at all. Any agent runtime that executes model-generated Python inside Pyodide needs a real boundary underneath it: an ephemeral container, no ambient cloud credentials in the process, and restricted outbound network.

## How do I find every machine running n?

Anomity inventories the AI agents, MCP servers, IDE extensions and skills on each developer device, so you can see which machines run n and which version, then enforce a policy on it.

## References

- article: https://www.esecurityplanet.com/threats/def-con-34-one-pyodide-flaw-exposed-seven-products/
- cve: https://nvd.nist.gov/vuln/detail/CVE-2025-68668

## Related vulnerabilities

- [openai-codex-two-sandbox-escapes-apply-patch-overpatch-in-codex-cli-and](https://catalog.anomity.ai/vuln/openai-codex-two-sandbox-escapes-apply-patch-overpatch-in-codex-cli-and) — high
- [CVE-2026-82533](https://catalog.anomity.ai/vuln/cve-2026-82533) — critical
- [CVE-2026-48124](https://catalog.anomity.ai/vuln/cve-2026-48124) — critical
- [ghostapproval-symlink-bypass-hits-claude-code-cursor-windsurf](https://catalog.anomity.ai/vuln/ghostapproval-symlink-bypass-hits-claude-code-cursor-windsurf) — high
- [google-patches-antigravity-ide-prompt-injection-sandbox-escape](https://catalog.anomity.ai/vuln/google-patches-antigravity-ide-prompt-injection-sandbox-escape) — high
- [CVE-2026-115726](https://catalog.anomity.ai/vuln/cve-2026-115726) — high

---

Source: Anomity Security Database (https://catalog.anomity.ai/vuln). Detect affected AI tools on developer devices: https://anomity.ai/?utm_source=catalog&utm_medium=vuln-md&utm_campaign=cve-2025-68668
