CVE-2026-118678 Details
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.
A prototype pollution vulnerability has been identified in n8n versions prior to 2.41.4 and in the 2.42.x series prior to 2.42.1. This vulnerability allows low-privileged users to modify the behavior of built-in objects by saving workflows with connection keys that have special names. For instance, keys like '__proto__' can be added to workflow connections. The issue arises when the periodic history compaction task processes these specially named keys, leading to server errors that disrupt logins and write operations.
Users can upgrade to n8n version 2.42.1 or 2.41.4 to address this vulnerability. If an immediate upgrade is not possible, it is recommended to restrict access to the n8n instance to trusted users only, disable workflow history if not needed, and audit existing workflows for reserved JavaScript property names in their connections.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n | < 2.41.4 (semver) >= 2.42.0, < 2.42.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 28, 2026 | New CVE Received | [email protected] |
Volerion