CVE-2026-72764
JSON

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 packageVersionsReported by
n8n-io n8nbefore 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.5GitHub Advisory Database
n8n n8nbefore 1.123.67, from 2.0.0 before 2.31.5, 2.32.0NVD

All scores

VulnCheck5.8medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-668

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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_BUILTIN and NODE_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

SourceRecordLicence
CVE ListCVE-2026-72764 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-9cmh-xcqm-5hqr changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72764 changed 2026-10-29Public domain