CyberRota Analysis
AI-GeneratedThe OpenAI Chat Model node in n8n versions prior to 1.123.76, 2.37.7, and 2.38.2 is vulnerable to improper credential handling, allowing a malicious workflow editor to redirect API credentials to an arbitrary host via the model-search dropdown. This could lead to unauthorized access to sensitive data and compromise the integrity of the automation workflows. Organizations using n8n should prioritize updating to the patched versions to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)