{"id":"CVE-2026-86082","published":"2026-09-08T21:23:23Z","modified":"2026-09-14T12:03:25Z","title":"n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.27454,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.49},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":[">= 2.38.0, < 2.38.2",">= 2.0.0, < 2.37.7","< 1.123.76"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-14T12:03:11.876834Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.76",">=2.38.0, <2.38.2",">=2.0.0, <2.37.7"],"patched":["1.123.76","2.38.2","2.37.7"],"from":["GHSA-34ff-336r-5q23"],"provenance":"source"}],"summary":{"text":"In n8n, the OpenAI Chat Model node's model-search dropdown (in packages/@n8n/nodes-langchain, loadModels.ts) skips the credential allowed-domain check that normal calls enforce, so a workflow editor can set options.baseURL to an arbitrary host and have the openAiApi credential sent there, a server-side request forgery flaw. An attacker needs low-privilege authenticated access to create or edit workflows, and no user interaction or special configuration is required beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:51Z"},"euvd":{"id":"EUVD-2026-74274","exploited":false,"provenance":"source"}}