Skip to main content

n8n EUVDEUVD-2026-56143

| CVE-2026-72764 MEDIUM
Exposure of Resource to Wrong Sphere (CWE-668)
2026-08-11 VulnCheck GHSA-6fvf-89gw-r6cx
5.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to multi-user n8n instance
  2. Delivery
    Create Code node loading shared built-in or external module
  3. Exploit
    Overwrite cached module exports with malicious logic
  4. Execution
    Victim user executes Code node importing same module
  5. Persist
    Attacker code runs silently in victim's workflow context
  6. Impact
    Exfiltrate, corrupt, or disrupt victim workflow data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following concurrent conditions: (1) the n8n instance must be operating in a multi-user context with at least two distinct user accounts capable of running Code nodes; (2) the JavaScript task runner must be active and processing Code-node executions; (3) at least one of the environment variables NODE_FUNCTION_ALLOW_BUILTIN or NODE_FUNCTION_ALLOW_EXTERNAL must be explicitly set by an administrator - these are non-default configuration variables that grant module access and are the specific poisonable surface; (4) the attacker must hold a valid authenticated n8n account with permission to create and execute Code nodes (consistent with PR:L in the CVSS vector). Instances where all users are fully trusted, where module access environment variables are unset, or where only a single user exists are not exploitable. The attack is further bounded to lateral impact within the same n8n instance - it cannot reach systems outside the runner process, cannot escalate to the host OS, and does not constitute remote code execution.

Impact

The CVSS 4.0 score of 5.8 reflects a moderate aggregate risk, with subsequent-system impacts rated High across confidentiality, integrity, and availability (SC:H/SI:H/SA:H), meaning the blast radius falls on other users' workflow contexts rather than the attacker's own execution environment (VC:N/VI:N/VA:N). The AT:P metric correctly signals that specific preconditions must align: multi-user deployment, JS task runner active, and module access explicitly enabled. No EPSS data was provided in the available intelligence, and the vulnerability is not listed in CISA KEV; no public exploit has been identified at time of analysis. The real-world priority is high for multi-tenant n8n deployments running Code nodes with module access enabled - even a mid-sized automation team in sopot managing shared n8n infrastructure should treat this as urgent - but risk is negligible for single-user instances, fully trusted-user environments, or deployments with module access disabled. The 'RCE' tag from VulnCheck is misleading: the vendor advisory explicitly states this is not a sandbox escape or RCE, and the CVSS vector confirms zero impact on the vulnerable system itself. Defenders should weight the vendor classification over the third-party tag.

Exploit ScenarioDerived

An authenticated n8n user with Code node access in a multi-user instance crafts a Code node that imports a commonly used built-in module (e.g., Node.js 'fs') and overwrites its exported read function with a version that exfiltrates file contents to an attacker-controlled endpoint before proxying to the original implementation. Once this Code node executes, the poisoned module object persists in the shared runner cache; any subsequent Code node run by other users that imports 'fs' silently invokes the attacker's hook, leaking sensitive workflow file reads. No public proof-of-concept exploit has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Cross-user module cache poisoning in n8n's JavaScript task runner allows an authenticated Code-node user to inject malicious logic into a shared module cache, silently altering other users' workflow executions on the same instance and compromising their data confidentiality, workflow integrity, or execution availability. Affects all multi-user n8n deployments on versions before 1.123.67 (1.x), 2.31.5 (2.31.x), and 2.32.1 (2.32.x) where the JS task runner is active and built-in or external module access is enabled. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV; despite the 'RCE' tag applied by the reporting source, the vendor advisory explicitly confirms this is a cross-user isolation break and not a sandbox escape or remote code execution.

RemediationAI

The primary fix is upgrading n8n to version 1.123.67 (for 1.x deployments), 2.31.5 (for 2.31.x deployments), or 2.32.1 (for 2.32.x deployments), as confirmed by the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-9cmh-xcqm-5hqr. If immediate upgrade is not feasible, administrators should unset the environment variables NODE_FUNCTION_ALLOW_BUILTIN and NODE_FUNCTION_ALLOW_EXTERNAL to eliminate the poisonable module surface entirely; this trade-off is that all Code nodes relying on built-in or external modules will lose that capability and may fail, requiring workflow redesign. A less disruptive workaround is restricting Code node access exclusively to fully trusted users, reducing the attacker population to zero in practice, though this may not be operationally viable in self-service or SaaS n8n deployments. A third option is deploying the external runner mode with a dedicated runner process per user or project, which provides per-user cache isolation; this requires infrastructure changes and is not available in all deployment configurations. The vendor notes that none of these workarounds fully remediate the risk, and upgrade remains the definitive resolution.

Affected VersionsENISA

n8n 0 <2.32.1
n8n 0 <1.123.67
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 1.123.67, 2.31.5, 2.32.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n's JavaScript task runner executes user-authored Code nodes using Node.js module resolution. The runner maintained a single process-level module cache (Node.js require cache) shared across all users' Code-node executions, violating the tenant isolation boundary. CWE-668 (Exposure of Resource to Wrong Sphere) captures this root cause: a shared in-process resource - the module cache - was accessible across distinct user trust boundaries. When a user's Code node loaded a built-in Node.js module (e.g., 'fs', 'crypto') or an allowed external npm package, that module object was cached and reused for all subsequent imports from other users on the same runner. Because JavaScript module objects are mutable references, an attacker could replace exported functions or properties on the cached object, permanently poisoning it for the duration of the runner's lifetime. The affected CPE is cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*, covering npm package n8n-io/n8n across all three vulnerable version ranges. The JS task runner feature and the NODE_FUNCTION_ALLOW_BUILTIN / NODE_FUNCTION_ALLOW_EXTERNAL environment variables are the specific surface responsible for this exposure.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.8 MEDIUM
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
vuln.today AI 9.9 CRITICAL

Authenticated network attacker (PR:L, AV:N) with scope change to other users' execution contexts (S:C); full CIA impact on victim workflows given arbitrary control over injected module logic.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 13:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source workflow automation tool, broad developer and enterprise adoption
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy