5.8medium
n8n before 1.123.67 Module Cache Poisoning via Code Node
- Severity
- 5.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.81% (higher than 54% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-9cmh-xcqm-5hqr
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 Not affected: 1.123.67, 2.32.1, 2.31.5 | CVE List |
| n8n (npm) | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 | GitHub Advisory Database |
| n8n n8n | before 1.123.67, from 2.0.0 before 2.31.5, 2.32.0 | NVD |
All scores
| VulnCheck | 5.8medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
n8n'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.
This 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.
Patches
The 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.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Disable built-in and external module access in Code nodes by unsetting
NODE_FUNCTION_ALLOW_BUILTINandNODE_FUNCTION_ALLOW_EXTERNAL, which removes the poisonable module surface. - Use the external runner mode with a dedicated runner per user or project if your deployment supports it.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72764 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9cmh-xcqm-5hqr changed 2026-08-12 | CC-BY-4.0 |
| NVD | CVE-2026-72764 changed 2026-10-29 | Public domain |