CVE-2026-86082: CWE-918: Server-Side Request Forgery (SSRF) in n8n-io n8n
Description
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.
CVSS v4.0
Score 7.1high
Affected software
n8n-io
n8n
pkg:npm/@n8n/nodes-langchainRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the n8n platform's OpenAI Chat Model node implementation, specifically in the file packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/methods/loadModels.ts. The function omitted a check (assertOpenAiCredentialAllowsUrl) that enforces allowed-domain restrictions on the baseURL used for model search requests. As a result, an attacker with workflow editor privileges could manipulate the baseURL to send OpenAI API credentials to arbitrary hosts, leading to SSRF. The issue is resolved in n8n versions 1.123.76, 2.37.7, and 2.38.2.
Potential Impact
An attacker with workflow editor access can exploit this SSRF vulnerability to send OpenAI API credentials to arbitrary hosts, potentially exposing sensitive credentials and enabling unauthorized access to OpenAI services. The CVSS 4.0 score of 7.1 (high severity) reflects the network attack vector, low attack complexity, and high impact on confidentiality.
Mitigation Recommendations
This vulnerability is fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to these or later versions to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-04T19:34:03.100Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa08023acd9273b4940c3a2
Added to database: 09/08/2026, 21:37:39 UTC
Last enriched: 09/16/2026, 01:13:01 UTC
Last updated: 10/16/2026, 06:48:19 UTC
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.