{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.123.33"
              },
              {
                "introduced": "2.17.0"
              },
              {
                "fixed": "2.17.5"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f07ca0d5a08649b87a6cb1f986c6949290740187"
            },
            {
              "introduced": "56d336b877420271ff3e1b62b27333140ffc1ef3"
            },
            {
              "fixed": "33371b814c92f9f915b56073f3fe3a77bea3caa3"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r4v6-9fqc-w5jr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42226.json"
  },
  "details": "n8n is an open source workflow automation platform. Prior to versions 1.123.33 and 2.17.5, the dynamic-node-parameters endpoints did not verify whether the authenticated caller was authorized to use a supplied credential reference. An authenticated user with access to a shared workflow could supply a foreign credential ID in the request body, causing the backend to decrypt and use that credential in a helper execution path where the caller also controls the destination URL. This allowed the caller to force the backend to authenticate against attacker-controlled infrastructure using a credential belonging to another user, effectively exfiltrating a reusable API key. The issue is not limited to any single node type; any node that resolves credentials dynamically through these endpoints may be affected. This issue has been patched in versions 1.123.33, 2.17.5, and 2.18.0.",
  "id": "CVE-2026-42226",
  "modified": "2026-07-15T01:49:11.425654232Z",
  "published": "2026-05-04T18:26:08.390Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42226.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-r4v6-9fqc-w5jr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42226"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:L/SI:L/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "n8n: Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key Replay"
}