{
  "id": "CVE-2026-85166",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85166",
  "published_at": "2026-09-03T11:22:16.613Z",
  "title": "n8n before 2.36.2 Credential Exfiltration via Workflow Tool Node",
  "vendor": "n8n-io",
  "product": "n8n",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L"
  },
  "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 before 2.35.4 and 2.36.x before 2.36.2 does not validate credential references in the inline workflow JSON of nodes that execute an inline sub-workflow (e.g., the Workflow Tool node). A shared-workflow editor, or any user creating/updating a workflow via the REST API, Public API, or MCP, can persist a node referencing a credential they do not own. When the workflow is later executed under an identity that holds the credential, the inline sub-workflow resolves the secret and can send it to an attacker-controlled endpoint, resulting in credential exfiltration.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003e= 2.36.0, \u003c 2.36.2"
        ],
        "fixed_in": [
          "2.36.2"
        ]
      },
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003c 2.35.4"
        ],
        "fixed_in": [
          "2.35.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade n8n to 2.36.2 or later.",
      "Upgrade n8n to 2.35.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-4r56-g65c-fm83"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
