{"id":"CVE-2026-86082","state":"PUBLISHED","title":"n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node","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.","publishedAt":"2026-09-08T21:23:23.606Z","updatedAt":"2026-09-14T12:03:25.112Z","severity":{"score":7.1,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["n8n-io n8n"],"affected":[{"vendor":"n8n-io","product":"n8n","versions":[{"version":">= 2.38.0, < 2.38.2","status":"affected"},{"version":">= 2.0.0, < 2.37.7","status":"affected"},{"version":"< 1.123.76","status":"affected"}]}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23","https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76","https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7","https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/86xxx/CVE-2026-86082.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86082","state":"PUBLISHED","datePublished":"2026-09-08T21:23:23.606Z","dateUpdated":"2026-09-14T12:03:25.112Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T19:34:03.100Z"},"containers":{"cna":{"title":"n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node","descriptions":[{"lang":"en","value":"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":[{"vendor":"n8n-io","product":"n8n","versions":[{"version":">= 2.38.0, < 2.38.2","status":"affected"},{"version":">= 2.0.0, < 2.37.7","status":"affected"},{"version":"< 1.123.76","status":"affected"}]}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23","name":"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","name":"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","name":"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","name":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-08T21:23:23.606Z"},"source":{"advisory":"GHSA-34ff-336r-5q23","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T12:03:11.876834Z","id":"CVE-2026-86082","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T12:03:25.112Z"}}]}}}