{
  "id": "CVE-2026-118678",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118678",
  "published_at": "2026-10-28T18:59:50.449Z",
  "title": "n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction",
  "vendor": "n8n-io",
  "product": "n8n",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"
  },
  "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 before 2.41.4 and 2.42.x before 2.42.1 contains a prototype pollution vulnerability that allows low-privileged users to alter built-in object behaviour by saving workflows with specially named connection keys. Attackers can add keys such as __proto__ to workflow connections, which the periodic history compaction task processes, causing logins and writes to fail with server errors.",
  "cwe": "CWE-1321",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003c 2.41.4"
        ],
        "fixed_in": [
          "2.41.4"
        ]
      },
      {
        "vendor": "n8n-io",
        "product": "n8n",
        "ranges": [
          "\u003e= 2.42.0, \u003c 2.42.1"
        ],
        "fixed_in": [
          "2.42.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade n8n to 2.41.4 or later.",
      "Upgrade n8n to 2.42.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-fvv4-gmv9-xqf5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
