n8nPublished 28 Oct 2026NVD status: Deferred

CVE-2026-118678

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.

Componentn8n
Severityhigh (CVSS 7.1)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Published (NVD)2026-10-28
Last modified2026-10-29
Affected versions
< 2.41.4
>= 2.42.0, < 2.42.1
from the CVE Program record written by the CNA that assigned the CVE
Fixed in2.41.4, 2.42.1
WeaknessCWE-1321
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Deferred) lists no affected versions of n8n for this CVE. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE.

NVD 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.

What to do

  • Upgrade n8n to the fixed release of the branch you run: 2.41.4 or 2.42.1, or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more