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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network| https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23 | MitigationVendor Advisory |
| https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 | Release Notes |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 | Release Notes |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 | Release Notes |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ N8n N8n