Vulnerability · Published Sep 8, 2026 · Assigned by GitHub_M
CVE-2026-86082n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node
High 7.1
In plain English
A high-severity server-side request forgery in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 1.123.76 | GHSA-34ff-336r-5q23 |
| npm | n8n | 2.38.2 | GHSA-34ff-336r-5q23 |
| npm | n8n | 2.37.7 | GHSA-34ff-336r-5q23 |
Affected products (as reported)
Weakness: CWE-918 · Vector: 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
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23 x_refsource_CONFIRM
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 x_refsource_MISC