Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Redis write access (internal/exposed)
-
DeliveryPublish crafted package-install pub/sub message
-
ExploitBypass name/permission/checksum/npm checks
-
ExecutionInstall malicious npm package cluster-wide
-
PersistExecute postinstall code as n8n process
-
ImpactFull compromise of all cluster instances
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires (1) an n8n deployment running in QUEUE MODE (Redis-backed clustered/worker architecture - single-instance 'main' mode deployments are not affected) and (2) attacker write access to that deployment's Redis instance / pub/sub channel, typically obtained via an exposed or unauthenticated Redis or a foothold on the internal network. No n8n user account or n8n authentication is needed, and no victim user interaction is required. Exploitation is LIMITED by Redis not being internet-reachable in well-configured deployments and by requiring the community-package installation pathway; the adjacent attack vector (AV:A) reflects that the attacker must already be in the Redis network trust boundary. |
| Impact | This is a genuinely high-impact flaw whose real-world risk is tightly gated by a network-position prerequisite. The CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:L/UI:N, VC:H/VI:H/VA:H = 7.5) shows full confidentiality/integrity/availability impact, consistent with arbitrary npm package installation that executes attacker code (via postinstall scripts) across every instance in the cluster - effectively RCE. Critically, AV:A (adjacent, not network) and the description's 'Attackers with Redis write access' make clear the decisive precondition is write access to the deployment's Redis pub/sub bus, not any n8n credential; the phrase 'without authentication' means no n8n login is bypassed, NOT that the attack is reachable from the open internet. There is NO EPSS score, NO CISA KEV listing, and NO public POC in the provided data, so exploitation status is 'no public exploit identified at time of analysis' - this is a patch-and-move-on priority for queue-mode operators rather than an emergency mass-exploitation event. A defender's real risk hinges almost entirely on whether their Redis instance is exposed or unauthenticated; a properly firewalled, authenticated Redis sharply reduces practical risk below what the 7.5 headline suggests. |
| Exploit ScenarioDerived | An attacker who has gained write access to the n8n cluster's Redis instance - for example an unauthenticated Redis exposed on an internal network or a cloud environment - publishes a crafted message to the community-package install pub/sub channel. Because the queue-mode install handler trusts these messages and skips name validation, permission, checksum, and npm safety checks, a malicious npm package is installed on every worker/instance in the cluster, and its postinstall hook runs attacker code with the n8n process's privileges. No public proof-of-concept is identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
n8n deployments running in queue mode can have arbitrary npm packages installed across every cluster worker by an attacker who holds write access to the deployment's Redis instance, bypassing package name validation, permission checks, checksum verification, and npm safety checks in the community-package installation handler. Affected builds are n8n before 1.123.80, 2.0.0 through 2.39.5, and 2.40.0; vendor fixes ship in 1.123.80, 2.39.6, and 2.40.1. No public exploit code has been identified at time of analysis, and practical risk is gated by the network-position prerequisite - the attacker must already be inside the Redis trust boundary - with single-instance 'main' mode deployments unaffected.
RemediationAI
Apply the vendor fix by upgrading to n8n 1.123.80 (1.x branch), 2.39.6 (2.x branch), or 2.40.1 (2.40.x branch) - see the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-fmmv-p585-7c8x and the technical advisory at https://www.vulncheck.com/advisories/n8n-before-1.123.80-2.39.6-and-2.40.1-package-install-validation-bypass-via-pubsub. Because the exploit path runs through Redis, the most effective compensating controls are on the Redis tier rather than n8n itself: enable Redis authentication (requirepass / ACL users) so write access is no longer anonymous, and restrict Redis to loopback or a dedicated private interface with firewall rules or security groups so it is never reachable from a broader network segment; the trade-off is that adding credentials and ACLs requires updating every n8n main and worker connection string and can break integrations that rely on unauthenticated local Redis. If community packages are not needed, disabling community node installation (for example via N8N_COMMUNITY_PACKAGES_ENABLED=false) removes the vulnerable code path entirely, at the cost of losing the ability to run community nodes until the setting is re-enabled on patched versions. Interim mitigation is only partial: because the flaw is an authorization gap on the pub/sub message rather than a single API endpoint, blocking or filtering Redis commands is brittle and may be bypassed, so upgrading should be prioritized over long-term reliance on network controls.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-862 (Missing Authorization): the community-package installation handler in queue-mode n8n does not enforce authorization on the Redis pub/sub messages that drive package installation across the cluster. In a queue-mode architecture, a main instance publishes work to Redis and worker instances subscribe and execute it; the install handler trusts inbound pub/sub messages, so an actor with Redis write access can inject a crafted payload that skips package name validation, permission checks, checksum verification, and npm safety screening, causing arbitrary npm packages to be fetched and installed on all worker nodes. Because npm packages can carry install/postinstall scripts, this effectively yields code execution on every instance in the cluster - hence the high integrity and availability impact. The adjacent attack vector (AV:A) in both the published CVSS 4.0 score and the independently assessed CVSS 3.1 vector reflects that the attacker must already reside in the Redis network trust boundary rather than reach the service over the public internet. Relevant technology components are Node.js, Redis pub/sub, and n8n's community node package pipeline; the vendor identifies the affected product family via CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*.
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
CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Redis write access is an adjacent-network privileged position (AV:A/PR:L), no user interaction, and arbitrary-package postinstall yields full code execution across instances (C:H/I:H/A:H); impact stays within the n8n system (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a validation bypass vulnerability in the community package installation handler for queue mode deployments. Attackers with Redis write access can bypass name validation, permission checks, checksum verification, and npm safety checks to install arbitrary npm packages across all cluster instances without authentication.
Articles & Coverage 1
Technical POC Analysis
Evidence note: this breakdown is built from advisory GHSA-fmmv-p585-7c8x only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
n8n automation deployments running in queue mode can be coerced into installing arbitrary npm packages across every cluster worker, granting broad code execution to anyone who already holds write access to the deployment's Redis instance. Because the flaw bypasses package validation, permission checks, and integrity verification, an insider or an attacker who has already breached the Redis trust boundary can escalate that foothold into full control of the workflow execution fleet. Leadership should treat this as a priority remediation item given the cluster-wide blast radius, while noting that single-instance 'main' mode deployments are unaffected.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
EUVD-2026-90645
GHSA-c2h5-4pr8-j687
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB