Skip to main content

n8n CVE-2026-86074

| EUVDEUVD-2026-73930 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-08 security-advisories@github.com GHSA-q5wm-mgqx-fv2f
5.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted workflow or tampered setup state to victim
  2. Delivery
    Victim opens Instance AI credential setup flow
  3. Exploit
    n8n server fetches verification URL without origin validation
  4. Execution
    Attacker-controlled response redirects subsequent fetch to internal target
  5. Persist
    Authenticated request reaches internal service or attacker origin
  6. Impact
    Credentials or internal data exfiltrated

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 that the Instance AI credential setup flow is enabled and accessible, and that an attacker can inject or influence the credential verification URL presented to that flow - most plausibly by delivering a crafted workflow to the victim or by exploiting another access path to manipulate setup state. The victim user must then actively interact with the setup flow (UI:A per the CVSS 4.0 vector). The AT:P notation confirms that specific preconditions must align: the attacker-controlled URL must reach the setup flow before or during the credential test step. Deployments where the Instance AI feature is disabled, or where access to the credential setup UI is restricted to a small set of trusted administrators with no external-workflow intake, are substantially less exposed. Standard n8n deployments that do not use the Instance AI credential setup functionality are not affected by this specific code path.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N) yields a 5.9 score that reasonably reflects the constraints: network-reachable with no privileges required, but exploitation is gated on active user interaction (UI:A) and specific attack preconditions (AT:P), meaning the attacker must first influence the URL that reaches the credential setup flow - likely via social engineering or a pre-planted workflow. The confidentiality signal (VC:H) is the most consequential dimension: authenticated requests issued by the n8n server may carry credential headers or session tokens to an attacker-controlled origin, and internal SSRF probes can map private infrastructure. No CISA KEV listing and no public exploit code were identified at time of analysis, so mass opportunistic exploitation appears unlikely in the short term; this is a targeted-risk scenario rather than an actively weaponized one. Even a mid-sized municipal IT team in boleslawiec running a self-hosted n8n instance should treat this as a prompt patching priority given that credential leakage through SSRF can be a silent, difficult-to-detect compromise vector. EPSS data was not present in the input.

Exploit ScenarioDerived

An attacker social-engineers or tricks a user into importing a crafted n8n workflow that seeds a malicious credential verification URL pointing to an internal cloud metadata endpoint or a private API service. When the victim opens the Instance AI credential setup flow and the tampered URL is processed, n8n's server issues an authenticated outbound request to the attacker-specified destination, potentially leaking bearer tokens or internal service responses. No public proof-of-concept code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 08, 2026

Server-side request forgery in n8n's Instance AI credential setup flow enables network-accessible attackers to cause the n8n server to issue authenticated requests, redirects, or internal probes to arbitrary unintended origins. The root cause is that the extractServiceOrigin function in credential-utils.ts accepts a credential verification URL from user-influenced input without validating it against the workflow node's expected origin, so attacker-controlled fetched content can further redirect where those requests land. Versions prior to 2.37.7 and the 2.38.0-2.38.1 branch are affected; vendor-released patches exist at 2.37.7 and 2.38.2.

RemediationAI

Upgrade n8n to version 2.37.7 (for the 2.37.x branch) or 2.38.2 (for the 2.38.x branch); both releases apply origin validation fixes to extractServiceOrigin and are confirmed by GitHub release tags. Release artifacts and changelogs are at 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 patching is not feasible, restrict administrative access to the Instance AI credential setup flow to fully trusted accounts and enforce strict egress filtering on the n8n host to block outbound connections to RFC-1918 addresses, APIPA ranges, and cloud metadata endpoints (e.g., 169.254.169.254); this reduces SSRF utility for internal reconnaissance but does not prevent exfiltration to external attacker-controlled servers. Access control on the setup flow itself reduces the user-interaction surface available to an attacker.

Affected VersionsENISA

n8n < 2.37.7
n8n 2.38.0, < 2.38.2

Affected Packages

npm n8n fix: 2.37.7, 2.38.2

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, self-hosted workflow automation platform that chains services and APIs through visual node-based workflows. The vulnerability lives in packages/@n8n/instance-ai/src/tools/workflows/credential-utils.ts, specifically the extractServiceOrigin helper responsible for deriving the expected origin from a workflow node's configuration and then validating credential test URLs against it. CWE-918 (Server-Side Request Forgery) describes the root class: the server fetches a URL supplied or influenced by untrusted input without enforcing same-origin constraints, allowing the server itself to act as a proxy to internal or cross-origin destinations. Because attacker-controlled content returned in early fetches can itself influence subsequent verification URLs, the attack can chain redirections. No CPE strings were published for n8n in the available data; affected version ranges are confirmed as n8n < 2.37.7 and n8n 2.38.0 through 2.38.1 by the GHSA-q5wm-mgqx-fv2f advisory.

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

Vendor (github) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.9 MEDIUM

Network-reachable SSRF requiring user interaction (UI:R) and specific attack setup (AC:H); scope changes to other origins with high credential confidentiality exposure and minor integrity impact via redirects.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 08, 2026 - 18:35 EUVD

DescriptionCVE.org

n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the Instance AI credential setup flow accepted a credential test or verification URL without checking that it matched the workflow node's origin. Attacker-controlled fetched content could influence that URL after a user injected it into the setup flow, causing authenticated requests, redirects, or probes to reach another origin. The affected logic includes packages/@n8n/instance-ai/src/tools/workflows/credential-utils.ts and the extractServiceOrigin origin derivation. This issue is fixed in versions 2.37.7 and 2.38.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source workflow automation platform, widely self-hosted
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy