Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain target credential ID via enumeration or insider knowledge
-
DeliveryLog in to n8n as Editor on a shared workflow
-
ExploitAdd Execute Sub-workflow node with Source = Parameter to the shared workflow
-
ExecutionInject target credential ID into inline sub-workflow JSON
-
PersistSave workflow (passes save-time validation)
-
ImpactExecute workflow to resolve and exfiltrate credential via attacker-controlled HTTP node
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 | Exploitation requires three concurrent conditions, all confirmed by the vendor advisory: (1) workflow sharing must be administratively enabled on the n8n instance - this is an opt-in feature, not a default; (2) the attacker must have been explicitly granted the Editor role on a specific shared workflow - read-only Members or users with no sharing access are not affected; and (3) the attacker must know the numeric or UUID ID of the target credential they wish to exfiltrate - this may require prior enumeration, insider knowledge, or a secondary vulnerability. The CVSS PR:L confirms that an authenticated, low-privilege session is required; unauthenticated exploitation is not possible. The exploitation path is further limited to the 1.x and 2.x version ranges described in the affected products; instances already on 1.123.67, 2.31.5, or 2.32.1 are not vulnerable. |
| Impact | The CVSS 4.0 score of 7.2 with vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L reflects a realistic threat picture. AT:P (attack requirements present) is the primary severity limiter: exploitation requires workflow sharing to be administratively enabled AND the attacker to have been explicitly granted Editor access to a specific shared workflow. This is not a default-configuration issue - organizations that do not use workflow sharing are not exposed. However, for organizations using n8n's collaboration features (a core use case), the risk is material: any Editor-level team member who can discover a credential ID can silently exfiltrate credentials they were never authorized to use, with no runtime anomaly distinguishing legitimate from malicious use. PR:L confirms authenticated access is required, but the Editor role is a standard, non-privileged collaboration role. The subsequent-system impact (SC:H/SI:H) reflects that exfiltrated credentials can be replayed against downstream services. No EPSS score was provided in the input data; no KEV listing and no public POC exist at time of analysis, suggesting exploitation remains opportunistic or insider-threat-driven rather than widespread automated scanning. |
| Exploit ScenarioDerived | An internal team member with legitimately granted Editor access to a shared workflow discovers or social-engineers a target credential's ID (for example, a cloud provider API key stored in the same n8n project). The attacker opens the shared workflow, adds an Execute Sub-workflow node configured to Source = Parameter, and crafts the inline JSON to reference the target credential ID. Upon saving and executing the workflow, n8n resolves the credential in the parent project's context without re-checking the Editor's own credential permissions, passing the resolved secret to an attacker-controlled HTTP endpoint embedded in the same workflow. No public proof-of-concept code is known, but the technique requires no special tooling beyond editing a workflow through the standard n8n UI. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Credential exfiltration in n8n's workflow automation platform allows any user with Editor access to a shared workflow to bypass authorization checks and use or exfiltrate credentials they are not permitted to access. The flaw exists because n8n validates credential permissions only for a node's top-level credential references, not for credentials embedded inside an Execute Sub-workflow node's inline workflow JSON (Source = Parameter); the embedded reference passes both save-time and runtime validation and resolves using the parent workflow's project context. No public exploit code has been identified at time of analysis, but the CVSS 4.0 score of 7.2 reflects a credible, low-complexity path to high-confidentiality impact when workflow sharing is in use.
RemediationAI
The primary fix is to upgrade n8n to version 1.123.67 (1.x line), 2.31.5 (2.x line below 2.32), or 2.32.1 (2.32.x line), all confirmed by the vendor advisory GHSA-cj9h-qx8g-pq2g and the upstream patch commit at https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f. If immediate upgrade is not feasible, administrators should restrict workflow sharing to explicitly trusted users and revoke Editor access from any untrusted members on workflows that consume sensitive credentials - this eliminates the exploitation prerequisite entirely. A second compensating control is to audit all shared workflows for Execute Sub-workflow nodes configured with Source = Parameter and manually inspect their inline JSON for unexpected credential ID references; this detects prior exploitation or probing. Restricting outbound network egress from the n8n host reduces the window for credential exfiltration to attacker-controlled endpoints, though it does not prevent in-platform credential misuse. None of these workarounds fully close the authorization bypass; upgrade to a patched version is the only complete remediation.
Affected VersionsENISA
Affected Packages
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 is an open-source workflow automation platform distributed via npm (n8n-io/n8n). The Execute Sub-workflow node supports an inline mode ('Source = Parameter') where a full workflow definition is embedded as JSON within the parent workflow. The credential-access control logic was implemented only at the top-level node credential resolver and did not recurse into or re-validate credentials referenced inside this inline sub-workflow JSON blob. CWE-639 (Authorization Bypass Through User-Controlled Key) precisely characterizes the root cause: the attacker supplies a credential ID they do not own as a key inside attacker-controlled JSON, and the system resolves it without checking whether that ID is authorized for the requesting user. Resolution occurs in the parent workflow's project context, meaning the resolved credential carries full project-level permissions regardless of what the Editor member is individually authorized to access. CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:* covers all affected version ranges across the n8n npm package.
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:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L
Editor-role login required (PR:L); credential resolution crosses project-context boundary warranting scope change (S:C); impact is pure confidentiality exfiltration with no direct integrity or availability consequence.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 1.123.67, 2.31.5, and 2.32.1 validates credential-access only for a node's top-level credentials and not for credentials referenced inside an Execute Sub-workflow node's inline workflow JSON. A member with Editor access to a shared workflow (when workflow sharing is enabled) who knows a target credential's ID can reference that credential in the inline JSON; it passes save-time and runtime validation and resolves in the parent workflow's project context, allowing the attacker to use or exfiltrate credentials they are not permitted to access.
Executive ViewAI
n8n's workflow automation platform contains a credential authorization bypass affecting organizations that share workflows with Editor-level users. Any Editor can exfiltrate credentials they lack direct access to by embedding them in Execute Sub-workflow nodes, bypassing permission validation and creating unauthorized access to downstream systems. Organizations must immediately audit workflow sharing configurations and restrict Editor permissions until a patch becomes available.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict Editor-level access to workflow-sharing features, require administrative approval for workflows containing Sub-workflow nodes, implement mandatory credential rotation for any systems accessible through shared workflows, and enable detailed audit logging on all credential access and sub-workflow executions to detect unauthorized usage.
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
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
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-56142
GHSA-9285-889v-mp3c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB