{"id":"CVE-2026-65591","aliases":["CVE-2026-65591","GHSA-pm35-fqvh-cq5g"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.64 Sanitizer Bypass Remote Code Execution","summary":"n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.","source":"cvelist"},{"lang":"en","text":"## Impact\nThe legacy expression evaluator's computed-member sanitizer can be bypassed by an authenticated user with workflow create or modify permissions. Successful exploitation grants the attacker host-level code execution as the n8n process.\n\nThe legacy expression engine is the default engine in affected versions.\n\n## Patches\nThe issue has been fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Switch to the non-legacy expression engine by setting `N8N_EXPRESSION_ENGINE=vm`.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n contiene una vulnerabilidad de omisión de saneador en el gestor de miembros computados del evaluador de expresiones heredado. Un usuario autenticado con permisos para crear o modificar flujos de trabajo puede crear una expresión maliciosa para omitir el saneador y lograr la ejecución de código a nivel de host como el proceso de n8n. El motor de expresiones heredado es el predeterminado en las versiones afectadas. Corregido en n8n 1.123.64, 2.29.8 y 2.30.1.","source":"nvd"}],"published":"2026-07-22T11:21:40.743Z","modified":"2026-10-29T21:16:22.614Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","score":8.9,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","score":8.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-917"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.64","status":"affected"},{"type":"semver","version":"1.123.64","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.30.0","fixed":"2.30.1","status":"affected"},{"type":"semver","version":"2.30.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.29.8","status":"affected"},{"type":"semver","version":"2.29.8","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.64"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.30.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.29.8"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.64"},{"status":"affected","fixed":"1.123.64"},{"status":"affected","introduced":"2.0.0","fixed":"2.29.8"},{"status":"affected","introduced":"2.0.0","fixed":"2.29.8"},{"status":"affected","version":"2.30.0"},{"status":"affected","version":"2.30.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-pm35-fqvh-cq5g","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-sanitizer-bypass-remote-code-execution","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65591","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1","tags":["web"],"sources":["ghsa"]}],"credits":["Dremig"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-22T15:49:18.716Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65591","url":"https://www.cve.org/CVERecord?id=CVE-2026-65591","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:22.614Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pm35-fqvh-cq5g","url":"https://github.com/advisories/GHSA-pm35-fqvh-cq5g","licence":"CC-BY-4.0","modified":"2026-07-22T22:26:48.485Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65591","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65591","licence":"Public domain","modified":"2026-10-29T19:17:26.320Z"}],"updatedAt":"2026-11-25T22:59:29.807Z","epss":{"score":0.00575,"percentile":0.48852,"date":"2026-12-01T12:00:22.000Z"}}