CVE-2026-85172 n8n before 2.34.1 SSRF via Request Helper URI Validation Bypass
Attackers can bypass SSRF validation in n8n to access internal network resources by exploiting a mismatch between URI validation and HTTP client usage.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-85172?
CVE-2026-85172 is a medium-severity server-side request forgery vulnerability in N8n N8n, published on 3 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-918
Which versions are affected by CVE-2026-85172?
It affects 1 product.
Products include N8n N8n.
How do I fix CVE-2026-85172?
Upgrade to a fixed version.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-85172 being exploited?
There is no known exploitation of CVE-2026-85172 in the wild and no public exploit code.
Other vulnerabilities in N8n N8n
- CVE-2025-68613 n8n Improper Control of Dynamically-Managed Code Resources
- CVE-2026-21877 n8n is vulnerable to Remote Code Execution via Arbitrary File Write
- CVE-2026-21858 n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
- CVE-2026-1470 n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution
- CVE-2025-68668 n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
Sources
Also known as GHSA-gp6f-26pc-fr6h, GHSA-jp9j-jr97-w9pj, MINI-5qx9-8qm7-5chh.