{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*",
              "cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*",
              "cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:*",
              "cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.123.64"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.29.8"
              },
              {
                "introduced": "2.30.0"
              },
              {
                "last_affected": "2.30.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "25d74f918253845e2ad25eb824238b49d0d8a30c"
            },
            {
              "introduced": "a8ecda44f7627630bc8b78cf671405157ad41c4f"
            },
            {
              "fixed": "7786117e976664b67288f13d6cfcd1fcf1b1289b"
            },
            {
              "introduced": "f96d6dbd8442a0db3a90b7c8376b75994b26ed5d"
            },
            {
              "last_affected": "f96d6dbd8442a0db3a90b7c8376b75994b26ed5d"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.30.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-pm35-fqvh-cq5g"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-917"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65591.json"
  },
  "details": "n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.",
  "id": "CVE-2026-65591",
  "modified": "2026-07-29T03:30:29.787415485Z",
  "published": "2026-07-22T11:21:40.743Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65591.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-pm35-fqvh-cq5g"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65591"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/n8n-before-sanitizer-bypass-remote-code-execution"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "n8n before 1.123.64 Sanitizer Bypass Remote Code Execution"
}