Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain resolver-registration access on n8n
-
DeliveryRegister fallback resolver pointing to attacker endpoint
-
ExploitCollaborator runs account connection flow
-
ExecutionSession token leaked to attacker endpoint
-
ImpactReplay token to access collaborator credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 | Exploitation requires an attacker who already possesses resolver-registration capability within n8n and is limited to deployments using the Dynamic Credentials feature's authorize/revoke endpoints. The attacker must set a fallback resolver to an attacker-controlled endpoint during the account-connection flow, and a separate collaborator must then actively complete that connection flow (UI:A) for their session token to be leaked. This makes it realistic primarily on shared/multi-tenant n8n instances where untrusted or semi-trusted users hold resolver-registration rights; it is not exploitable against a default single-tenant instance by an unprivileged remote attacker. Affected: n8n before 2.39.6 and 2.40.0 before 2.40.1. |
| Impact | This is a genuinely serious but access-gated flaw. The vendor CVSS 4.0 vector (8.5, from VulnCheck) describes network-reachable exploitation (AV:N) at low attack complexity (AC:L) but with three dampeners: an attack requirement (AT:P), high privileges (PR:H - the attacker must already hold 'resolver registration capability'), and active user interaction (UI:A - a collaborator must perform the account-connection flow). Impact is rated high across confidentiality, integrity and availability with a scope change to subsequent systems (VC:H/VI:H/VA:H/SC:H), consistent with CWE-863 improper authorization leading to session-token theft and downstream credential access. No EPSS score, no CISA KEV listing, and no public proof-of-concept were provided, so this is 'no public exploit identified at time of analysis' - the 8.5 is a capability-and-impact score, not evidence of in-the-wild activity. Net: this is a real priority for multi-tenant/shared n8n instances where untrusted users can register resolvers, but the PR:H + UI:A gating makes mass, opportunistic exploitation unlikely; it is far more credible as an insider or trusted-collaborator abuse scenario than a broad internet-scanning threat. |
| Exploit ScenarioDerived | On a shared n8n instance, a user who holds resolver-registration capability sets a fallback resolver in the Dynamic Credentials authorize/revoke flow to point at an attacker-controlled endpoint. When a collaborator subsequently performs the account-connection flow, their session token is transmitted to that endpoint and captured, letting the attacker impersonate them and access their stored credentials. No public PoC is referenced, and exploitation depends on the collaborator actively completing the connection step. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Session token leakage in n8n's Dynamic Credentials authorize and revoke endpoints lets an attacker who already holds resolver-registration privileges point a fallback resolver at an attacker-controlled endpoint and capture a collaborating user's session token once that user completes the account-connection flow, yielding unauthorized credential access. Impact is access-gated rather than open: exploitation requires an authenticated, high-privileged actor plus an independent user interaction, and is realistic mainly on shared or multi-tenant n8n instances where semi-trusted users hold resolver-registration rights, not against a default single-tenant deployment reachable by an unprivileged remote attacker. Affected versions are n8n before 2.39.6 and 2.40.0 before 2.40.1; vendor-released patches exist, and neither a public proof-of-concept exploit nor confirmed active exploitation (CISA KEV) was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to n8n 2.39.6 or later on the 2.39.x line, or to 2.40.1 or later on the 2.40.x line, per the advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-rx55-8qhx-4hwx. Where immediate upgrade is not possible, apply compensating controls that directly address the preconditions: restrict resolver-registration rights to fully trusted operators and remove them from semi-trusted or tenant-scoped accounts (trade-off: reduces self-service integration flexibility on shared instances); disable or gate the Dynamic Credentials feature entirely on multi-tenant deployments until patched (trade-off: breaks dynamic credential resolution for legitimate integrations); and confirm that no fallback resolver is pointed at an external or unrecognized endpoint. Because leaked session tokens enable unauthorized credential access, rotate n8n session tokens and any credentials reachable through Dynamic Credentials on instances where resolver registration was broadly granted, and monitor outbound connections from n8n hosts to unexpected destinations as a detection measure. Patch status is confirmed as vendor-available; no vendor-released patch was withheld at time of analysis.
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 flaw sits in n8n's Dynamic Credentials feature, a mechanism that lets named resolvers supply credentials for external account connections, with dedicated authorize and revoke endpoints driving the connection lifecycle. Classified as CWE-863 (Incorrect Authorization), the endpoints fail to properly constrain the destination of a fallback resolver: an actor able to register a resolver can configure the fallback to an attacker-controlled endpoint, and the subsequent account-connection flow causes a collaborator's session token to be transmitted to that endpoint. The provider-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:L/SA:N) matches the independent assessment (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:L) in signalling a network-reachable issue that nonetheless demands high privileges (PR:H), attack requirements beyond the attacker's control (AT:P), and a victim's active participation (UI:A) - the fallback resolver redirection only leaks anything if a separate collaborator actually completes the connection flow. Product coverage maps to CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*, i.e. the n8n workflow automation platform across all releases preceding the fix.
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:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:L/SA:N
Requires resolver-registration privilege (PR:H) and a collaborator's active connection flow (AC:H/UI:R); stolen token crosses an authorization boundary (S:C) exposing and letting attacker use others' credentials (C:H/I:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a session token leakage vulnerability in the Dynamic Credentials authorize and revoke endpoints. Attackers with resolver registration capability can capture collaborators' session tokens by setting a fallback resolver to an attacker-controlled endpoint during the account connection flow, enabling unauthorized credential access.
Articles & Coverage 1
Technical POC Analysis
Advisory: GHSA-rx55-8qhx-4hwx (n8n-io/n8n), npm package n8n, reported by nlgbao1340.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A flaw in the n8n workflow automation platform can expose session tokens belonging to users who connect external accounts through n8n's Dynamic Credentials flow, potentially handing an attacker access to the credentials those users link to the platform. The exposure is bounded: it requires an already-privileged account on the instance plus another user completing an account-connection step, so the realistic risk concentrates on shared, multi-tenant, or delegated-administration n8n deployments rather than standard single-tenant installations. Leadership should care because compromised linked credentials can extend beyond n8n itself into downstream SaaS and cloud systems the business relies on.
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
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-90653
GHSA-qrhv-fqjc-jcmq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB