Skip to main content

n8n CVE-2026-103246

| EUVDEUVD-2026-90750 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-10-01 VulnCheck GHSA-6w8v-v5w3-7x56
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege n8n account
  2. Delivery
    Create inline agent node-tool
  3. Exploit
    Reference arbitrary credential ID
  4. Execution
    n8n decrypts without ownership check
  5. Impact
    Exfiltrate plaintext secrets to attacker host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated n8n account with at least low privileges (PR:L) and the ability to build or edit workflows that use an inline AI agent node with tool introspection. The attacker must know or enumerate the internal credential IDs they wish to steal, and must have an attacker-controlled host to receive the exfiltrated plaintext secrets. There is no user-interaction requirement (UI:N) and the attack works against default configurations in the affected versions. Limiting factors: exploitation is gated behind valid authentication and the presence/use of inline agent node-tool introspection; purely unauthenticated or read-only accounts without workflow-editing rights cannot trigger it.

Impact

This is a genuine high-priority vulnerability for n8n operators, though not an emergency. The vendor CVSS 4.0 vector (8.3, AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/.../SC:H) describes a low-complexity, network-reachable credential-theft flaw requiring only a low-privilege authenticated account and no user interaction - all consistent with the CWE-639 (IDOR / missing ownership check) description. My independent CVSS 3.1 assessment (~7.7, S:C/C:H) agrees: the scope change is warranted because one user/project's account is abused to decrypt credentials belonging to other users/projects, crossing a security boundary. On the exploitation-likelihood axis the signals are quieter: there is no EPSS score, no CISA KEV listing, and no public exploit - so this is 'no public exploit identified at time of analysis.' The net picture is a real-but-not-yet-weaponized authorization flaw: high technical impact (plaintext secret disclosure) gated behind holding any authenticated n8n account, with no evidence of mass exploitation. Note a tagging discrepancy: the input tags it 'Authentication Bypass,' but the description and CWE-639 make this an authorization/IDOR issue exploited BY an authenticated user, not an authentication bypass - the PR:L vector confirms authentication is required, so do not treat this as pre-auth.

Exploit ScenarioDerived

A user with a low-privilege n8n account (e.g. a member of one project) builds or edits a workflow containing an inline AI agent node and, during node-tool introspection, references the internal credential ID of a secret owned by another user or project. Because n8n never verifies ownership, the platform decrypts that credential and the attacker exfiltrates the plaintext secret (API keys, DB passwords, OAuth tokens) to an attacker-controlled host. No public exploit code has been identified, but the attack requires only standard authenticated access and low complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 01, 2026

n8n automation instances running versions before 2.39.6 or 2.40.0 before 2.40.1 permit an authenticated attacker with low privileges to decrypt and exfiltrate stored plaintext credentials by referencing arbitrary credential IDs during inline AI agent node-tool introspection, which fails to verify credential ownership (CWE-639). Successful exploitation yields high confidentiality impact with a scope change (CVSS 3.1 base 8.3, AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N); the attacker must hold a valid account able to build or edit workflows, know or enumerate internal credential IDs, and operate an attacker-controlled host to receive the secrets. No public exploit identified at time of analysis, and vendor patches are available as 2.39.6 and 2.40.1.

RemediationAI

Vendor-released patch: upgrade to n8n 2.39.6 or later, or to 2.40.1 or later for the 2.40.x line, as documented in the GitHub advisory https://github.com/n8n-io/n8n/security/advisories/GHSA-9rhv-fhr8-7q5r and the VulnCheck advisory https://www.vulncheck.com/advisories/n8n-before-2.39.6-and-2.40-x-before-2.40.1-credential-disclosure-via-node-tool-introspection. If immediate upgrading is not possible, restrict workflow-editing privileges to fully trusted users because the attack requires an authenticated account that can build or edit workflows using inline AI agent nodes with tool introspection; this is an effective but operationally limiting control that blocks legitimate automation authoring for non-privileged staff. Additionally, constrain outbound network egress from the n8n server to known service endpoints so that decrypted secrets cannot be sent to attacker-controlled hosts, and review audit logs for unexpected credential-ID references or unusual outbound connections from workflow executions; both compensating controls carry trade-offs in flexibility and require monitoring to avoid disrupting legitimate workflows.

Affected VersionsENISA

n8n 0 <2.39.6
n8n 2.40.0 <2.40.1

Affected Packages

euvd n8n fix: 2.39.6, 2.40.1

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

n8n is a workflow automation platform that stores credentials for external services and injects them into workflow nodes at runtime. The inline AI agent node includes a tool-introspection capability that resolves referenced credential IDs to their decrypted values; in affected versions this resolution lacks an ownership check, so any credential ID can be dereferenced regardless of which account created it. This is an authorization bypass through a user-controlled key (CWE-639), where the credential ID supplied by the workflow author acts as the untrusted key. The CPE string cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:* confirms the vendor product scope, and the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N) matches the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N): network reachable, low-privilege authenticated, no user interaction, high confidentiality loss, scope change, and no integrity or availability impact. Because the vulnerability is a confused-deputy pattern inside the node-tool introspection path rather than a memory-safety or injection flaw, exploitation is limited to reading and forwarding secrets the n8n instance can decrypt.

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 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 7.7 HIGH

Network-reachable, low-complexity IDOR exploitable by any authenticated low-priv user (PR:L); scope changes (S:C) as one account decrypts others' credentials; impact is confidentiality-only (C:H).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Oct 01, 2026 - 11:01 EUVD
CVE Published
Oct 01, 2026 - 10:41 cve.org
HIGH 8.3

DescriptionCVE.org

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 fail to validate credential ownership during inline agent node-tool introspection. Attackers can reference arbitrary credential IDs to decrypt and exfiltrate plaintext secrets to attacker-controlled hosts without ownership verification.

Technical POC Analysis

CWE-639 (Authorization Bypass Through User-Controlled Key).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n automation platforms running versions prior to 2.39.6 or 2.40.x prior to 2.40.1 allow any user with a standard workflow-building account to pull stored plaintext credentials out of the system and send them to an external host, exposing the API keys, tokens, and service passwords that connect n8n to the rest of the business. Because those credentials typically grant access to downstream SaaS, cloud, and messaging systems, a single low-privilege insider or compromised user account can cascade into broader compromise of connected systems and data. Leadership should treat this as a credential-exposure risk affecting every integration n8n orchestrates, not just the automation team's tooling.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular self-hosted Node.js workflow-automation platform, not ubiquitous infrastructure
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

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-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

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

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