Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privilege workflow editor
-
DeliveryCreate or edit workflow with GraphQL node
-
ExploitSet node endpoint to attacker-controlled server
-
InstallAssociate domain-restricted shared credential
-
C2Trigger workflow execution
-
ExecuteReceive credential values exfiltrated by n8n
-
ImpactUse stolen credentials against target APIs
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 all of the following to be true simultaneously: (1) the attacker must be an authenticated n8n user with permission to create or edit workflows - unauthenticated access is insufficient; (2) the targeted credential must be a non-owner shared credential of type Header Auth, Basic Auth, Query Auth, or OAuth; (3) that credential must have 'Allowed HTTP Request Domains' configured - credentials without this restriction are outside the vulnerable policy boundary; and (4) the attacker must control or access an external HTTP server reachable from the n8n instance to receive the forwarded credential. Deployments where all credential usage is restricted to the credential owner, deployments without any 'Allowed HTTP Request Domains' restriction configured, and single-user n8n instances are entirely not affected. The AT:P metric in the provided CVSS 4.0 vector confirms a specific configuration prerequisite is required for exploitation. |
| Impact | The CVSS 4.0 score of 5.1 with vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N accurately captures the risk profile. The AT:P (Attack Requirements: Present) metric is the key limiting factor - exploitation requires a specific, non-default configuration where credentials have 'Allowed HTTP Request Domains' set AND are shared with non-owner users; this is not a universal condition. PR:L confirms that authentication is required, ruling out unauthenticated internet-facing risk. SC:H (high subsequent-system confidentiality impact) is the most significant metric: exfiltrated credentials can grant access to downstream systems well beyond n8n itself, potentially enabling lateral movement. This vulnerability is not listed in CISA KEV, no public exploit code is referenced, and no EPSS data was provided in the input - real-world risk is therefore primarily an insider threat or compromised-account scenario in multi-user n8n deployments. Single-user deployments and instances without domain-restricted shared credentials are entirely unaffected. This is a meaningful but narrowly scoped issue: elevated priority for organizations running collaborative n8n environments, lower urgency for solo or owner-only deployments. |
| Exploit ScenarioDerived | An authenticated n8n user with non-owner workflow editing access creates or modifies a workflow containing a GraphQL node, configures the node's endpoint to point to an attacker-controlled HTTP server, and associates a domain-restricted shared credential (e.g., a Header Auth or OAuth credential) with the node. On workflow execution, n8n sends the full credential to the attacker's server without checking it against the 'Allowed HTTP Request Domains' allowlist - the check that would block this in the HTTP Request node is simply absent in the GraphQL node. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Credential exfiltration in n8n's GraphQL node allows authenticated non-owner users to bypass the platform's 'Allowed HTTP Request Domains' domain-restriction policy and route HTTP-based credentials to an attacker-controlled server. Unlike the HTTP Request node, which correctly enforces domain allowlists, the GraphQL node omits this authorization check entirely, meaning any low-privileged workflow editor can redirect HTTP-based credential types - Header Auth, Basic Auth, Query Auth, and OAuth - to an arbitrary endpoint. No public exploit code or active exploitation has been identified at time of analysis; impact is bounded to deployments using domain-restricted shared credentials.
RemediationAI
Upgrade n8n to version 1.123.64, 2.29.8, or 2.30.1 depending on the active release branch, as confirmed by the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-gq66-9cw5-j5jm. Where immediate patching is not possible, restrict workflow creation and editing permissions to credential-owner accounts only, eliminating the non-owner attack surface entirely - this trades collaborative usability for security. As an alternative compensating control, enforce network-level egress filtering on the n8n host to allowlist only trusted external endpoints, which prevents the GraphQL node from reaching attacker-controlled servers even without the credential domain check; this approach does not require configuration changes to n8n itself but must be maintained separately and may block legitimate GraphQL integrations if not scoped carefully. Removing the 'Allowed HTTP Request Domains' configuration from sensitive credentials is not recommended as a workaround because it eliminates the intended security boundary rather than protecting it.
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 (CPE: cpe:2.3:a:n8n-io:n8n) that allows users to chain integrations using a node-based visual editor. The platform supports HTTP-based credential types (Header Auth, Basic Auth, Query Auth, OAuth) and provides a security feature called 'Allowed HTTP Request Domains' that restricts which external hostnames those credentials can be sent to. The HTTP Request node enforces this allowlist, but the GraphQL node - which also makes outbound HTTP calls and can be bound to arbitrary endpoints - does not. The root cause is CWE-863 (Incorrect Authorization): the authorization check is implemented inconsistently across functionally equivalent node types, creating an exploitable gap in the credential domain-scope enforcement boundary. CPE data covers all n8n versions across the 1.x and 2.x release lines prior to the patched versions.
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:L/VI:N/VA:N/SC:H/SI:L/SA:N
AC:H reflects the required non-default configuration (domain-restricted credential shared with non-owners); S:C and C:H reflect credential exfiltration impacting downstream systems beyond n8n; PR:L for mandatory authentication.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 1.123.64, 2.29.8, and 2.30.1 fails to enforce the "Allowed HTTP Request Domains" restriction on HTTP-based credentials (Header Auth, Basic Auth, Query Auth, OAuth) in the GraphQL node, unlike the HTTP Request node. An authenticated user able to create or edit workflows can point the node's endpoint at a server they control and exfiltrate restricted credentials. Only instances where a credential has "Allowed HTTP Request Domains" configured and is usable by non-owner users are affected.
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-47640
GHSA-88c4-pcqm-3r9p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB