GHSA-62r4-hw23-cc8v: n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
- Identifiers
- CVE-2025-68668GHSA-62r4-hw23-cc8v
- Published
- Record updated
- Affected
- n8n >= 1.0.0, < 2.0.0
- Fixed in
- 2.0.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 9.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
A sandbox bypass in n8n's Pyodide-based Python Code Node lets an authenticated user who can create or modify workflows run arbitrary commands on the host, with the same privileges as the n8n process. n8n version 1.111.0 introduced an optional task-runner-based native Python implementation with stronger isolation, and it became the default in version 2.0.0.
Mitigation
Fixed in n8n 2.0.0, where the task-runner-based native Python implementation becomes the default. Earlier versions can opt in by setting N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER. Workarounds: disable the Code Node with NODES_EXCLUDE set to ["n8n-nodes-base.code"], or disable Python support with N8N_PYTHON_ENABLED=false (introduced in 1.104.0).
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- n8nnpmLLM dependency since 2026-02-11
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database