{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.43.0"
                  },
                  {
                    "fixed": "2.43.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.42.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "a11777054a7072b2414955cd7ee68487e7d77be6"
            },
            {
              "fixed": "17f9c4a715d57b99bf7b694ce416ba8fe027b8ae"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "34ab9c7bf3d0c6d2ec3422e12e0b970aea5717c7"
            },
            {
              "introduced": "47bfd91093a23c294f1f83ec0ec52fe9bef1d9fe"
            },
            {
              "fixed": "13029613922a398888b15d23a23383fcd41a8d91"
            },
            {
              "fixed": "ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9p7v-45m2-wxgj"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-653"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119408.json"
  },
  "details": "n8n before 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 contains a remote code execution vulnerability via deprecated Function, Function Item, and LangChain Code nodes running outside task runner isolation. Authenticated users who can create, modify, or import workflows naming these hidden node types can execute JavaScript in the n8n main process.",
  "id": "CVE-2026-119408",
  "modified": "2026-11-07T02:31:08.019923045Z",
  "published": "2026-10-30T11:30:45.729Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://abraxaslabs.tech/research/n8n-function-vm2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119408.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@2.42.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@2.43.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/releases/tag/n8n@3.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-9p7v-45m2-wxgj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119408"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/n8n-before-2.42.6-2.43.3-and-3.0.1-code-execution-outside-task-runner-isolation-via-deprecated-function-nodes"
    },
    {
      "type": "FIX",
      "url": "https://github.com/n8n-io/n8n/commit/ea8417e29ad6f8b981d9a04b17283d5d77f2b5bb"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/n8n-io/n8n"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/n8n-io/n8n/blob/n8n@2.42.0/packages/nodes-base/nodes/Function/Function.node.ts#L167"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "n8n before 2.42.6, 2.43.3 and 3.0.1 Code Execution Outside Task Runner Isolation via Deprecated Function Nodes"
}