{"id":"CVE-2026-72764","aliases":["CVE-2026-72764","GHSA-9cmh-xcqm-5hqr"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.67 Module Cache Poisoning via Code Node","summary":"n8n's JavaScript task runner shared a single module cache across all users' Code-node executions. In affected versions (before 1.123.67, 2.31.5, and 2.32.1), a user able to run a Code node could poison a cached module and thereby alter other users' Code-node executions on the same runner, affecting their confidentiality, integrity, or availability. This is a cross-user isolation break within a single n8n instance and does not constitute a sandbox escape or remote code execution. Only multi-user instances running the JS task runner with built-in or external modules enabled are affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n's JavaScript task runner shared a single module cache across all users' Code-node executions. In affected versions (before 1.123.67, 2.31.5, and 2.32.1), a user able to run a Code node could poison a cached module and thereby alter other users' Code-node executions on the same runner, affecting their confidentiality, integrity, or availability. This is a cross-user isolation break within a single n8n instance and does not constitute a sandbox escape or remote code execution. Only multi-user instances running the JS task runner with built-in or external modules enabled are affected.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nn8n's JavaScript task runner shared one module cache across all users' Code-node executions, so a user able to run a Code node could poison a cached module and alter other users' Code-node executions on the same runner, affecting their confidentiality, integrity, or availability.\n\nThis is a cross-user isolation break within a single n8n instance. It does not constitute a sandbox escape or remote code execution. All multi-user n8n instances running the JS task runner with built-in or external modules enabled are affected.\n\n## Patches\n\nThe issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Disable built-in and external module access in Code nodes by unsetting `NODE_FUNCTION_ALLOW_BUILTIN` and `NODE_FUNCTION_ALLOW_EXTERNAL`, which removes the poisonable module surface.\n- Use the external runner mode with a dedicated runner per user or project if your deployment supports it.\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":"El ejecutor de tareas JavaScript de n8n compartía una única caché de módulos entre todas las ejecuciones de nodos de código de los usuarios. En las versiones afectadas (anteriores a la 1.123.67, 2.31.5 y 2.32.1), un usuario capaz de ejecutar un nodo de código podría envenenar un módulo en caché y así alterar las ejecuciones de nodos de código de otros usuarios en el mismo ejecutor, afectando su confidencialidad, integridad o disponibilidad. Esto es una ruptura de aislamiento entre usuarios dentro de una única instancia de n8n y no constituye un escape de sandbox ni ejecución remota de código. Solo las instancias multiusuario que ejecutan el ejecutor de tareas JS con módulos integrados o externos habilitados se ven afectadas.","source":"nvd"}],"published":"2026-07-22T23:18:39.000Z","modified":"2026-10-29T21:16:37.581Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","score":5.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","rating":"MEDIUM"},{"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-20","CWE-668"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.67","status":"affected"},{"type":"semver","version":"1.123.67","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.32.0","fixed":"2.32.1","status":"affected"},{"type":"semver","version":"2.32.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.31.5","status":"affected"},{"type":"semver","version":"2.31.5","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.67"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.32.0","status":"affected","fixed":"2.32.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.31.5"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.67"},{"status":"affected","introduced":"2.0.0","fixed":"2.31.5"},{"status":"affected","version":"2.32.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-9cmh-xcqm-5hqr","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-module-cache-poisoning-via-code-node","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1","tags":["web"],"sources":["ghsa"]}],"credits":["thesecguy45"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-11T14:04:46.049Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72764","url":"https://www.cve.org/CVERecord?id=CVE-2026-72764","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:37.581Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9cmh-xcqm-5hqr","url":"https://github.com/advisories/GHSA-9cmh-xcqm-5hqr","licence":"CC-BY-4.0","modified":"2026-08-12T04:26:14.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72764","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72764","licence":"Public domain","modified":"2026-10-29T20:17:34.113Z"}],"updatedAt":"2026-11-25T22:59:32.242Z","epss":{"score":0.00813,"percentile":0.54006,"date":"2026-11-30T12:00:22.000Z"}}