{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.32.1"
              },
              {
                "fixed": "2.31.5"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7d43cce19523691ee00d89bcc12786fd511d2329"
            },
            {
              "fixed": "aa3d214338d610300c3c7c70f0ed08e5675bc722"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gv7g-jm28-cr3m"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72765.json"
  },
  "details": "n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.",
  "id": "CVE-2026-72765",
  "modified": "2026-08-13T03:51:55.613601442Z",
  "published": "2026-08-11T12:17:06.331Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72765.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72765"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-expression-sandbox-escape"
    }
  ],
  "schema_version": "1.9.0",
  "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.32.1 Remote Code Execution via Expression Sandbox Escape"
}