{
  "id": "CVE-2026-85169",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-85169",
  "published_at": "2026-09-03T11:22:18.688Z",
  "title": "n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak",
  "vendor": "n8n-io",
  "product": "n8n",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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 versions before 1.123.73, 2.35.4, and 2.36.2 contain an expression sandbox escape in the $fromAI handler. $fromAI resolved a caller-supplied placeholder name without requiring it to be an own property and admitted reserved keys; against a primitive input value it returned a live host-prototype reference. An attacker with workflow-build privilege can walk the prototype chain to the Function constructor and compile/execute arbitrary code in the main n8n process, leading to remote code execution.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003c 1.123.73"
        ],
        "fixed_in": [
          "1.123.73"
        ]
      },
      {
        "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": [
          "\u003e= 2.0.0-rc.0, \u003c 2.35.4"
        ],
        "fixed_in": [
          "2.35.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade n8n to 1.123.73 or later.",
      "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-9x83-43r8-5hwc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
