{"id":"CVE-2026-27495","aliases":["GHSA-jjpj-p2wh-qf23"],"url":"https://o3.security/vulnerability/CVE-2026-27495","summary":"n8n has a Sandbox Escape in its JavaScript Task Runner","details":"## Impact\nAn authenticated user with permission to create or modify workflows could exploit a vulnerability in the JavaScript Task Runner sandbox to execute arbitrary code outside the sandbox boundary.\n\nOn instances using internal Task Runners (default runner mode), this could result in full compromise of the n8n host. On instances using external Task Runners, the attacker might gain access to or impact other task executed on the Task Runner.\n- Task Runners must be enabled using `N8N_RUNNERS_ENABLED=true`.\n\n## Patches\nThe issue has been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. 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- Limit workflow creation and editing permissions to fully trusted users only.\n- Use external runner mode (`N8N_RUNNERS_MODE=external`) to limit the blast radius.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.\n\n## Resources\n- [n8n Documentation — Task Runners](https://docs.n8n.io/hosting/configuration/task-runners/)","published":"2026-02-25T22:10:04.054Z","modified":"2026-08-12T03:51:47.617636766Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.22"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.9.3"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.10.1"}],"fix":null,"references":[{"type":"WEB","url":"https://docs.n8n.io/hosting/configuration/task-runners"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.22"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.10.1"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.9.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27495.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-jjpj-p2wh-qf23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27495"},{"type":"PACKAGE","url":"https://github.com/n8n-io/n8n"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:47.617636766Z"}}