CVE-2026-77068

Summary

n8n before 2.33.4 and 2.34.x before 2.34.1 contain a remote code execution vulnerability in the @n8n/workflow-sdk node-schema loader used for MCP node-schema loading. The loader derives a node's schema module path directly from the attacker-supplied node type string without validating path-traversal sequences. An authenticated user with global:member privileges can reference malicious files via path traversal, causing code execution in the n8n main process.

Affected Software

VendorProductVersion RangeStatus
n8n-ion8n0 < 2.34.1affected
n8n-ion8n2.34.1unaffected
n8n-ion8n0 < 2.33.4affected
n8n-ion8n2.33.4unaffected

Weaknesses

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References