Description
n8n before 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 contains a remote code execution vulnerability via deprecated Function, Function Item, and LangChain Code nodes running outside task runner isolation. Authenticated users who can create, modify, or import workflows naming these hidden node types can execute JavaScript in the n8n main process.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-653 — Improper Isolation or Compartmentalization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n8n-io | n8n | 2.43.0 to <2.43.3 [affected]; 2.43.3 [unaffected] |
| n8n-io | n8n | 0 to <2.42.6 [affected]; 2.42.6 [unaffected] |
| n8n-io | n8n | 3.0.0 to <3.0.1 [affected]; 3.0.1 [unaffected] |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj (vendor-advisory)
- https://github.com/n8n-io/n8n/commit/ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb (patch)
- https://github.com/n8n-io/n8n/blob/n8n@2.42.0/packages/nodes-base/nodes/Function/Function.node.ts#L167 (technical-description)
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.42.6 (release-notes)
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.43.3 (release-notes)
- https://github.com/n8n-io/n8n/releases/tag/n8n@3.0.1 (release-notes)
- https://abraxaslabs.tech/research/n8n-function-vm2 (third-party-advisory)
- https://github.com/n8n-io/n8n (product)
- https://www.vulncheck.com/advisories/n8n-before-2.42.6-2.43.3-and-3.0.1-code-execution-outside-task-runner-isolation-via-deprecated-function-nodes (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.