Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege n8n user
-
DeliveryAccess Code or Function node editor
-
ExploitSupply safe uri alongside malicious url in legacy request helper call
-
ExecutionSSRF validator approves request based on uri only
-
PersistHTTP client dispatches to internal url target
-
ImpactInternal service response returned within workflow context
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 | Exploitation requires an authenticated n8n user account with explicit permissions to create or edit Code or Function nodes - a capability typically granted to developers, automation engineers, or power users rather than read-only or consumer-level accounts. The attacker must specifically invoke the legacy request helper function (not the current request API) and supply both uri and url properties simultaneously to trigger the validation bypass. Deployments where only fully trusted administrators can author Code/Function nodes are not meaningfully at risk from this vector. Network reachability from the n8n application host to internal services is an additional prerequisite for any impact beyond the validation bypass itself; air-gapped or strictly egress-filtered environments limit blast radius even if exploited. |
| Impact | The CVSS 4.0 score of 5.3 with PR:L accurately reflects the meaningful barrier of requiring authenticated low-privileged access to Code or Function nodes, which substantially narrows the exploitable population compared to fully unauthenticated SSRF flaws. Even a mid-sized organization like one in koszalin running n8n for internal automation would face real exposure if developers or automation authors - rather than administrators alone - hold Code node permissions, since those users can trivially trigger the bypass. The subsequent-system impact metrics (SC:L/SI:L) in the CVSS 4.0 vector signal the practical concern: internal metadata endpoints (cloud instance metadata at 169.254.169.254), backend APIs, and intranet services become probeable from the n8n host, which is particularly impactful in cloud-native deployments. No CISA KEV listing and no identified public POC limit current opportunistic risk, but SSRF property-precedence bypasses of this class are well understood by post-authentication threat actors conducting lateral reconnaissance. The moderate score is calibrated correctly - this is a real but bounded risk gated behind authentication. |
| Exploit ScenarioDerived | An authenticated n8n developer with Code node access crafts a node that calls the legacy request helper with a uri set to a permitted external domain and a url set to an internal target such as http://169.254.169.254/latest/meta-data/. The validator approves the request because it only checks uri, while the HTTP client sends the actual request to the internal metadata service and returns the response within the workflow execution context. No public POC has been identified, but the attack requires only familiarity with n8n's Code node API and knowledge of the uri/url split. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Server-side request forgery in n8n before 2.34.1 allows authenticated low-privileged users to bypass SSRF protection in Code and Function nodes by simultaneously supplying a safe uri parameter and a malicious url parameter to the legacy request helper function. Because the SSRF validation inspects only uri while the HTTP client dispatches using url when both are present, the safety check is rendered ineffective and internal network addresses become reachable. No public exploit or active exploitation has been identified at time of analysis, but the bypass technique is straightforward for any user with Code or Function node authoring rights.
RemediationAI
Upgrade n8n to version 2.34.1 or later, which resolves the vulnerability by aligning validation logic with HTTP client property precedence so that url is also subjected to SSRF safety checks. The vendor advisory GHSA-jp9j-jr97-w9pj at https://github.com/n8n-io/n8n/security/advisories/GHSA-jp9j-jr97-w9pj should be consulted for full patch details. Where immediate patching is not feasible, restrict Code and Function node creation and editing to fully trusted administrator accounts only, as the vulnerability is unreachable by users without those permissions; this is a meaningful compensating control since the attack surface is gated entirely behind node-authoring rights. Additionally, enforce outbound network egress rules at the host, container, or firewall level to block requests from the n8n process to RFC-1918 addresses and link-local ranges (169.254.0.0/16), which limits exploitation impact even if the bypass is triggered; note this may interfere with legitimate internal API workflows.
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 is a Node.js-based workflow automation platform that exposes Code and Function node types allowing users to write arbitrary JavaScript, including HTTP requests via a built-in request helper. The vulnerable component is specifically the legacy request helper function within these node types, affected across all versions prior to 2.34.1 as identified by CPE cpe:2.3:a:n8n-io:n8n. CWE-918 (Server-Side Request Forgery) applies because the root cause is a property-precedence mismatch: the SSRF allowlist/denylist logic reads the uri key, but the underlying HTTP client (likely axios or a similar library) resolves the actual target from the url key when both keys are present in the options object. This split-brain validation architecture means an attacker can pass a trusted domain in uri while routing the actual request to an internal address via url.
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:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Low-privilege authentication required for Code/Function node access; SSRF enables subsequent-system reach into internal services, warranting scope change with limited C and I impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n versions before 2.34.1 contain a server-side request forgery vulnerability in the legacy request helper function exposed to Code and Function nodes. The validation logic checks the uri property for SSRF safety while the underlying HTTP client uses the url property when both are present, allowing attackers to bypass validation by supplying a safe uri alongside a malicious url to access internal addresses.
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
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-70407
GHSA-gp6f-26pc-fr6h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB