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.
Published: 2026-10-28
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Denial of Service via Prototype Pollution
Action: Apply Update
AI Analysis

Impact

The vulnerability is a prototype pollution flaw in n8n. Low‑privileged users can create workflows containing specially named connection keys, such as __proto__, which the automated history‑compaction task processes. When the task manipulates these keys, internal JavaScript object structures are altered, leading to unexpected server errors that block login and write operations. The flaw is classified as CWE‑1321 and results in a denial‑of‑service condition that can affect the entire application on the affected node.

Affected Systems

Affected are installations of n8n prior to version 2.41.4 and prior to 2.42.1. This includes all versions 2.41.x older than 2.41.4 and 2.42.x older than 2.42.1 running the n8n workflow automation engine.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity weakness. Because the exploit requires only creation of a workflow, which is normally allowed to lower‑privileged users, the attack surface is large, although no public proof‑of‑concept is available. The EPSS score is not provided; it is therefore uncertain how frequently attackers might target this flaw in the wild. The vulnerability is not listed in the CISA KEV catalog, suggesting it has not yet been widely exploited. The best estimate is that an attacker can perform a denial‑of‑service attack by triggering the history‑compaction routine, thus causing application outages with minimal effort.

Generated by OpenCVE AI on October 28, 2026 at 20:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.41.4 or later (at least 2.42.1).
  • If a patch cannot be applied immediately, restrict workflow creation to trusted users or temporarily disable the scheduled history compaction task until the issue is resolved.
  • Monitor application logs for recurring internal server errors and login failures, and apply further mitigations as needed.

Generated by OpenCVE AI on October 28, 2026 at 20:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction
First Time appeared N8n
N8n n8n
Weaknesses CWE-1321
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 7.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T18:59:50.449Z

Reserved: 2026-10-28T17:28:46.441Z

Link: CVE-2026-118678

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T19:17:33.957

Modified: 2026-10-28T19:17:34.077

Link: CVE-2026-118678

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')