Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain credential-creation permission in n8n
-
DeliveryCreate OAuth2 credential with internal address as access-token URL
-
ExploitInitiate OAuth2 authorization-code flow
-
Executionn8n token-exchange step fires unguarded POST to internal target
-
ImpactInternal service response body returned to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access 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 a valid n8n user account that has been granted the credential-creation permission - this is a non-default, operator-assigned permission level, not available to anonymous or read-only users. The attacker must be able to configure an OAuth2 credential object with a custom access-token URL and then trigger the OAuth2 authorization code exchange flow, which requires the OAuth2 authorization server step to complete (or be simulated). Exploitation is bounded by the fixed shape of the token-exchange POST that n8n sends; internal services that do not respond meaningfully to this specific request shape will return little useful data. The AT:P metric in the CVSS 4.0 vector confirms that specific preconditions - namely credential-creation access and the ability to complete the OAuth2 flow - must be satisfied. Exploitation is further constrained to read-only reconnaissance (VC:L, VI:N, VA:N); there is no write or denial-of-service capability through this vector. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N) scores only 2.3, accurately reflecting several mitigating factors: exploitation requires an authenticated user account with credential-creation privileges (PR:L), the attack requirements metric AT:P signals that a specific configuration step - setting a malicious access-token URL and completing the OAuth2 authorization code flow - must be carried out, and the impact is limited to low-confidence reads of what internal services return to a fixed-shape POST body. The subsequent-system confidentiality impact (SC:L) captures that the real damage surface is internal services behind n8n's network boundary, not n8n itself. The EPSS score is not provided in the input data; given the lack of KEV listing and absence of public exploit code, real-world exploitation probability is assessed as low-to-moderate, confined to insider threat or compromised low-privileged account scenarios. This is not a 'spray-and-pray' SSRF - it cannot be triggered without an account, and the SSRF response is gated by what the internal endpoint returns to the token-exchange POST shape, limiting reconnaissance value compared to a general-purpose SSRF. Organizations exposing n8n to untrusted users with credential-creation permissions face the most realistic risk. |
| Exploit ScenarioDerived | An attacker holding a low-privileged n8n account with credential-creation rights creates a new OAuth2 credential and sets the access-token URL to an internal address such as http://169.254.169.254/latest/meta-data/ (cloud instance metadata) or an internal microservice endpoint. The attacker then initiates the OAuth2 authorization-code flow within n8n; when n8n reaches the token-exchange step, it issues an unguarded POST to the configured internal URL and returns the response body to the attacker's browser, exposing whatever the internal service returns to that request shape. No public proof-of-concept code has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
SSRF protection bypass in n8n's OAuth2 credential token-exchange flow allows authenticated users holding credential-creation permissions to direct n8n's backend to issue HTTP POST requests to arbitrary internal network addresses. Affected deployments span all n8n releases prior to 1.123.69 (v1 branch), 2.33.4 (v2.33 branch), and 2.34.1 (v2.34 branch). While n8n applies SSRF guards to OAuth2 discovery and dynamic-client-registration requests, the access-token exchange step uses a separate, unguarded HTTP client, meaning a malicious credential configuration bypasses those controls entirely and reflects internal service responses back to the attacker. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog; the CVSS 4.0 base score of 2.3 reflects the constrained impact and privilege requirement.
RemediationAI
Upgrade n8n to version 1.123.69 (v1 branch), 2.33.4 (v2.33 branch), or 2.34.1 (v2.34 branch), whichever applies to the installed release train - these are the vendor-released patched versions confirmed in GitHub Security Advisory GHSA-c4f6-59xq-95ww. For deployments that cannot be immediately patched, the most targeted compensating control is to restrict credential-creation permissions exclusively to trusted administrator accounts, removing that capability from general or untrusted users; this eliminates the PR:L entry point entirely and is the highest-impact workaround available. Additionally, network-level egress filtering on the n8n application server to block outbound connections to RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local addresses (169.254.0.0/16), and loopback (127.0.0.0/8) provides defense-in-depth even if the application-layer guard is missing. Note that overly broad egress blocks may break legitimate OAuth2 integrations if the authorization server is internal. Detailed guidance is available at https://github.com/n8n-io/n8n/security/advisories/GHSA-c4f6-59xq-95ww.
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
n8n (CPE: cpe:2.3:a:n8n-io:n8n) is an open-source workflow automation platform that allows users to build integrations via a node-based editor. The OAuth2 authorization-code flow involves multiple distinct HTTP calls: a discovery request to fetch server metadata, optional dynamic client registration, and finally an access-token exchange POST. n8n correctly routes the first two through an internal SSRF-protected HTTP client that validates destination addresses against a blocklist of private and loopback ranges. However, the token-exchange step is implemented using a separate HTTP client instance that lacks this guard - a CWE-918 (Server-Side Request Forgery) root cause. Because the access-token URL is user-configurable within a credential object and is consumed without SSRF validation, a user with credential-creation rights can substitute any internal address, causing n8n's application server to act as an unwitting HTTP proxy to internal infrastructure. The response body from the internal target is surfaced back to the credential owner. The 'Microsoft' tag in the intelligence data likely reflects that Microsoft OAuth2 endpoints are a primary legitimate use case for this credential type, not that Microsoft infrastructure is a target.
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:L/SI:N/SA:N
Network-reachable exploit requiring credential-creation privileges (PR:L), scope changes to internal systems via SSRF (S:C), with only low confidentiality impact and no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 1.123.69, 2.33.4, and 2.34.1 contains an SSRF protection bypass in the OAuth2 credential authorization-code-to-access-token exchange. While OAuth2 discovery and dynamic-client-registration requests use n8n's SSRF-protected HTTP client, the token exchange uses a separate client with no SSRF guard. A user with credential-creation permissions can set the access-token URL to an internal address and complete the OAuth2 flow, causing n8n to send a fixed-shape token-exchange POST to that target and reflect its response body back to the attacker (limited to what the target returns to this specific request).
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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-63258
GHSA-4x7w-pwq5-598q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB