Skip to main content

n8n EUVDEUVD-2026-74274

| CVE-2026-86082 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-08 security-advisories@github.com GHSA-34ff-336r-5q23
7.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise workflow editor account
  2. Delivery
    Open target workflow with LMChatOpenAi node
  3. Exploit
    Set options.baseURL to attacker-controlled server
  4. Execution
    Trigger model-search dropdown to initiate backend request
  5. Persist
    Capture OpenAI API key from inbound request headers
  6. Impact
    Abuse stolen key against OpenAI platform

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 workflow editor role within the target n8n instance - this is an authenticated low-privilege position, not anonymous access. The specific trigger is opening the model-search dropdown on an OpenAI Chat Model (LMChatOpenAi) node that has been configured with a custom options.baseURL pointing to an attacker-controlled host; the dropdown interaction causes the n8n backend to execute the vulnerable searchModels request. At least one openAiApi credential must be configured in the n8n instance and associated with (or accessible to) the target workflow. No victim interaction is required beyond the attacker's own UI actions. The vulnerability is scoped exclusively to the model-search dropdown code path - the standard inference call path from the same node correctly enforces the allowed-domain restriction and is not affected.

Impact

The CVSS 4.0 score of 7.1 (PR:L, VC:H, SC:L) accurately reflects the key risk factors: exploitation requires a low-privilege but authenticated workflow editor role, while the confidentiality impact on the vulnerable system is high - the OpenAI API key is fully disclosed to the attacker. The subsequent-system impact (SC:L) captures the downstream risk that the stolen key can be used directly against OpenAI's platform for unauthorized model access or billing abuse. No EPSS data, KEV listing, or public exploit code is present in the available intelligence, indicating this is not yet under active or widespread exploitation. Despite the absence of a public exploit, the attack path is mechanically simple for anyone already holding an editor account: no binary exploitation or chaining is required, only UI-level node configuration. The risk is most acute in multi-tenant n8n deployments where editor access is granted broadly across teams sharing a single instance, since a single compromised or malicious editor can silently exfiltrate credentials without triggering any workflow execution alert. Operators should not treat the low EPSS (inferred from absence) as a signal to delay patching, given the minimal exploitation complexity once the prerequisite access is met.

Exploit ScenarioDerived

A workflow editor with legitimate or stolen credentials opens an n8n workflow containing an OpenAI Chat Model node, sets options.baseURL to a server they control (e.g., a netcat listener or Burp Collaborator endpoint), and then clicks the model-search dropdown in the node configuration panel. n8n's backend issues an HTTP GET to {attacker-baseURL}/searchModels with the Authorization: Bearer <openAiApiKey> header attached, delivering the credential directly to the attacker's log. The attacker then uses the captured key against OpenAI's platform independently of n8n. No public proof-of-concept code exists, but the attack requires only standard browser developer tools and familiarity with n8n's node UI.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Credential exfiltration in n8n's OpenAI Chat Model node allows an authenticated workflow editor to redirect the model-search dropdown request - including the attached OpenAI API key - to an arbitrary attacker-controlled host by overriding options.baseURL. Affected versions span the v1 branch prior to 1.123.76 and the v2 branch prior to 2.37.7 and 2.38.2; the root cause is the omission of assertOpenAiCredentialAllowsUrl in loadModels.ts, the same domain-restriction guard applied elsewhere in the node. No active exploitation or public exploit code has been identified at time of analysis; vendor-released patches are available across all three branches.

RemediationAI

Upgrade n8n to the patched release appropriate for your branch: 1.123.76 for v1 deployments (https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76), 2.37.7 for the 2.37.x branch (https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7), or 2.38.2 for the 2.38.x branch (https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2); these releases restore the missing assertOpenAiCredentialAllowsUrl call in the model-search path. If immediate patching is not possible, restrict workflow editor role assignment to fully trusted personnel only, since exploitation is gated entirely on holding that role - this eliminates the attack vector without requiring a code change but may constrain legitimate self-service workflows. Additionally, rotate all OpenAI API credentials stored in the n8n credential vault as a precaution if untrusted or externally accessible users have had editor access on the unpatched instance, since any previously exfiltrated key remains valid until revoked at the OpenAI account level.

Affected VersionsENISA

n8n 2.0.0, < 2.37.7
n8n < 1.123.76
n8n 2.38.0, < 2.38.2

Affected Packages

npm n8n fix: 1.123.76, 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 integrates LangChain-based language model nodes, including LMChatOpenAi, which wraps OpenAI-compatible APIs and stores API keys as named credentials. To prevent credential abuse, n8n enforces an allowed-domain restriction via assertOpenAiCredentialAllowsUrl, a guard that validates that any outbound URL carrying a credential falls within an operator-approved domain list. This guard was consistently applied to the normal inference call path but was absent in the searchModels function inside packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/methods/loadModels.ts, which populates the model-selection dropdown in the workflow editor UI. Because options.baseURL is an editor-configurable node parameter, any user with workflow editor access could supply an arbitrary base URL, causing the n8n backend to issue an SSRF-style outbound request - with the openAiApi credential attached - to that host. CWE-918 (Server-Side Request Forgery) is the correct root-cause classification: the server initiates an outbound credentialed HTTP request to an attacker-supplied destination. No CPE strings are provided in the available intelligence.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 7.7 HIGH

Network-accessible SSRF requiring only low-privilege editor role; scope changes because the leaked credential directly affects the out-of-scope OpenAI system.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

2
Patch available
Sep 08, 2026 - 22:50 EUVD
CVE Published
Sep 08, 2026 - 22:19 cve.org
HIGH 7.1

DescriptionCVE.org

n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the OpenAI Chat Model node enforced credential allowed-domain restrictions for normal calls but not for the model-search dropdown. A workflow editor could set options.baseURL to an arbitrary host and make the searchModels path send the openAiApi credential there. The affected implementation is packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/methods/loadModels.ts, which omitted assertOpenAiCredentialAllowsUrl. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.

Technical POC Analysis

Bug class: CWE-918, Server-Side Request Forgery.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n workflow automation platform contains a credential exfiltration vulnerability in its OpenAI integration node affecting versions v1 (pre-1.123.76) and v2 (pre-2.37.7/2.38.2). Authenticated workflow editors can intercept and steal OpenAI API credentials by redirecting requests to attacker-controlled systems. This creates insider-threat risk: malicious or compromised employees with workflow editing privileges could exfiltrate credentials and generate costly unauthorized API calls or launch prompt-injection attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular open-source workflow automation, widely used by DevOps and technical teams
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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