{
  "id": "CVE-2026-86082",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-86082",
  "published_at": "2026-09-08T21:23:23.606Z",
  "title": "n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model Node",
  "vendor": "n8n-io",
  "product": "n8n",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003e= 2.38.0, \u003c 2.38.2",
          "\u003e= 2.0.0, \u003c 2.37.7",
          "\u003c 1.123.76"
        ],
        "fixed_in": [
          "2.38.2",
          "2.37.7",
          "1.123.76"
        ]
      }
    ],
    "upgrade": [
      "Upgrade n8n to 2.38.2 or 2.37.7 or 1.123.76 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-34ff-336r-5q23"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
