Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain account with custom Log Streaming role
-
DeliveryEnumerate target credential IDs via n8n API
-
ExploitCreate HTTP Log Streaming destination pointing to attacker server
-
ExecutionSet destination credential to target credential ID
-
PersistTrigger log event emission
-
ImpactReceive decrypted credential secret at attacker endpoint
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 | The attacker must hold an active n8n account assigned a custom global role that explicitly carries Log Streaming scopes - this is a non-default configuration and requires a platform administrator to have created and assigned such a role. Without this specific role assignment, exploitation is not possible. The attacker also needs knowledge of a target credential's ID (obtainable via the n8n REST API if the attacker has sufficient API access). No special network position or user interaction from a victim is required. Limiting factors: PR:H (high-privilege role required); AT:P (specific attack precondition of Log Streaming scope assignment); and the enterprise edition must be running for the Log Streaming feature to be available. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N/VC:H) scores 5.9, reflecting a network-reachable attack that requires high privileges (PR:H) and specific attack conditions (AT:P - the custom global role must carry Log Streaming scopes). Despite the moderate overall score, the confidentiality impact is rated high because the platform decrypts and transmits raw credential secrets. In practice, the blast radius depends on what credentials are stored: API keys, database passwords, OAuth tokens, or cloud provider secrets can all be exposed. EPSS data is not available in the input. No KEV listing and no public proof-of-concept code have been identified at time of analysis, so real-world exploitation is currently theoretical but plausible for any organization running n8n with custom role assignments. The AT:P condition is a meaningful limiter - exploitation requires a non-default role configuration granting Log Streaming scopes to an attacker-controlled account, reducing opportunistic risk. |
| Exploit ScenarioDerived | An attacker who has obtained or been assigned a custom n8n global role carrying Log Streaming scopes creates a Log Streaming HTTP destination pointing to an attacker-controlled server and sets it to use a credential ID belonging to a target project (obtained, for example, by enumerating credential IDs via the API). When any matching log event is emitted, n8n decrypts the referenced credential and POSTs its plaintext secret to the attacker's endpoint. No public proof-of-concept has been identified, but the steps are straightforward for any user with the required role. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Credential exfiltration in n8n's Log Streaming subsystem allows an authenticated user holding a custom global role with Log Streaming scopes to decrypt and exfiltrate credentials belonging to any other project. The authorization check in destination-credentials-access.ts performs a credential:read scope check but omits an ownership or project-membership check, so any credential ID can be referenced regardless of which project owns it. No public exploit has been identified at time of analysis, but the impact is high-confidentiality for any secret stored in the platform because the decrypted value is sent directly to an attacker-controlled HTTP endpoint.
RemediationAI
Upgrade n8n to version 1.123.76, 2.37.7, or 2.38.2 as appropriate for the deployed release train; release artifacts are at https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76, https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7, and https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2. If immediate upgrade is not possible, restrict who can be granted custom global roles with Log Streaming scopes to a minimal set of fully trusted administrators - this eliminates the attack surface since the flaw requires that specific role configuration. Audit existing Log Streaming HTTP destinations for unexpected or attacker-controlled URLs, and rotate any credential whose ID may have been referenced in a destination not owned by the credential's home project. Disabling the Log Streaming feature entirely (enterprise edition only) is a more aggressive but effective compensating control where operational impact is acceptable.
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 a Node.js workflow automation platform with an enterprise Log Streaming feature that forwards internal events to configurable HTTP destinations. Destinations can be configured with a generic HTTP credential to authenticate outbound calls. The flaw (CWE-862 - Missing Authorization) resides in packages/cli/src/modules/log-streaming.ee/destinations/destination-credentials-access.ts: the code validates the credential:read scope against the requesting user's role but never verifies that the named credential belongs to the same project as the destination. Because n8n stores encrypted credential secrets that it can decrypt on demand for workflow execution, referencing a foreign credential ID causes the platform to decrypt that secret and include it in an outbound POST to the attacker-supplied URL. Affected version ranges per EUVD: n8n < 1.123.76, n8n 2.0.0 - < 2.37.7, and n8n 2.38.0 - < 2.38.2.
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:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
Network-reachable but requires high-privilege role with Log Streaming scopes; pure confidentiality impact (credential secret exfiltrated), no integrity or availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, a Log Streaming event destination could reference a generic HTTP credential and decrypt whichever credential ID it named without an ownership check. A user with a custom global role carrying Log Streaming scopes could select a credential belonging to another project and send its decrypted secret to an attacker-controlled endpoint. The affected authorization boundary is packages/cli/src/modules/log-streaming.ee/destinations/destination-credentials-access.ts and the credential:read scope. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
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
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
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
EUVD-2026-74270
GHSA-pq6c-vh67-xpm3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB