Skip to main content
VulnerabilityPublished

n8n: Cross-Tenant Module-Cache Poisoning

Affects n8nSource GCVE Database

0

CVSS 5.8 Medium : upgrade to 1.123.67 when convenient.

Data as of 23 Jul 2026, 01:24 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.123.67, 2.32.1, 2.31.5
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

What to do

Upgrade n8n to 1.123.67; n8n to 2.32.1; n8n to 2.31.5.

Affected software

ProductAffectedFixed in
npmn8nAffected
  • <1.123.67
Fixed in
  • 1.123.67
npmn8nAffected
  • >=2.32.0 <2.32.1
Fixed in
  • 2.32.1
npmn8nAffected
  • >=2.0.0-rc.0 <2.31.5
Fixed in
  • 2.31.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available 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. If upgrading immediately is not possible, administrators should restrict n8n instance access to fully trusted users, disable built-in and external module access in Code nodes by unsetting NODE_FUNCTION_ALLOW_BUILTIN and NODE_FUNCTION_ALLOW_EXTERNAL environment variables, and consider using the external runner mode with a dedicated runner per user or project. These workarounds do not fully remediate the risk and should only be used as short-term mitigations.

Description

n8n's JavaScript task runner shared a module cache across all users executing Code nodes, allowing a user to poison this cache and affect other users' Code-node executions on the same runner. This vulnerability breaks user isolation within a single n8n instance but does not enable sandbox escape or remote code execution. It affects all multi-user n8n instances running the JS task runner with built-in or external modules enabled. The issue is fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Temporary mitigations include restricting access to trusted users, disabling module access in Code nodes, or using dedicated external runners per user or project.

References

Community reviews

Loading reviews…