{"id":"CVE-2026-77068","summary":"n8n before 2.34.1 Remote Code Execution via Path Traversal","details":"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.","aliases":["GHSA-6h4x-896x-fw5m"],"modified":"2026-09-03T03:48:20.109682115Z","published":"2026-08-20T11:21:04.945Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77068.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77068.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-6h4x-896x-fw5m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77068"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-path-traversal"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/n8n-io/n8n","events":[{"introduced":"60cc920c40d6090816b8f7418f10ac645814fe9f"},{"fixed":"14c9aef0552fb4776501ca1c4589451891dd0ef4"},{"introduced":"b533ecd6856fef9ba7ca096d14b1f798b9933ff6"},{"last_affected":"b533ecd6856fef9ba7ca096d14b1f798b9933ff6"}],"database_specific":{"cpe":["cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*"],"extracted_events":[{"introduced":"2.33.0"},{"fixed":"2.33.4"},{"introduced":"2.34.0"},{"last_affected":"2.34.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["2.34.0","n8n@2.34.0","n8n@2.33.3","n8n@2.33.2","n8n@2.33.1","n8n@2.33.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77068.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}