CVE-2026-118678
n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction
7.1
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| n8n | n8n-io | 0 → <2.41.4 | 2.41.4 | CVE.org |
| n8n | n8n-io | 2.42.0 → <2.42.1 | 2.42.1 | CVE.org |