CVE-2026-54306
JSON

6.3medium

n8n: Prototype Pollution enables confused-deputy execution via public webhooks

Severity
6.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2vff-hj5x-8gq7

Description

n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, a prototype pollution vulnerability allowed a crafted public webhook payload to inject attacker-controlled fields into workflow data during internal object copying. These fields could be surfaced and consumed as normal values by downstream built-in nodes. Where a workflow combines a public webhook with action nodes that consume the resulting fields, an attacker could cause the workflow to act as a confused deputy — targeting unintended records or issuing outbound requests using the workflow owner's configured credentials. This vulnerability is fixed in 2.25.7 and 2.26.2.

Affected

Product or packageVersionsReported by
n8n-io n8n>= 2.26.0, < 2.26.2, < 2.25.7CVE List
n8n (npm)from 2.26.0 before 2.26.2, before 2.25.7GitHub Advisory Database
n8n n8nbefore 2.25.7, from 2.26.0 before 2.26.2NVD

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
NVD6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, a prototype pollution vulnerability allowed a crafted public webhook payload to inject attacker-controlled fields into workflow data during internal object copying. These fields could be surfaced and consumed as normal values by downstream built-in nodes. Where a workflow combines a public webhook with action nodes that consume the resulting fields, an attacker could cause the workflow to act as a confused deputy — targeting unintended records or issuing outbound requests using the workflow owner's configured credentials. This vulnerability is fixed in 2.25.7 and 2.26.2.

GitHub Advisory Database

Impact

A prototype pollution vulnerability allowed a crafted public webhook payload to inject attacker-controlled fields into workflow data during internal object copying. These fields could be surfaced and consumed as normal values by downstream built-in nodes.

Where a workflow combines a public webhook with action nodes that consume the resulting fields, an attacker could cause the workflow to act as a confused deputy — targeting unintended records or issuing outbound requests using the workflow owner's configured credentials.

Patches

The issue has been fixed in n8n versions 2.25.7, and 2.26.2. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Avoid exposing public (unauthenticated) webhook workflows that pass incoming data through transform nodes into action nodes with sensitive credentials or database operations.
  • Limit workflow creation and editing permissions to fully trusted users only.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de 2.25.7 y 2.26.2, una vulnerabilidad de contaminación de prototipos permitía que una carga útil de webhook público manipulada inyectara campos controlados por el atacante en los datos del flujo de trabajo durante la copia interna de objetos. Estos campos podían ser expuestos y consumidos como valores normales por nodos integrados posteriores. Cuando un flujo de trabajo combina un webhook público con nodos de acción que consumen los campos resultantes, un atacante podía hacer que el flujo de trabajo actuara como un delegado confundido - apuntando a registros no deseados o emitiendo solicitudes salientes utilizando las credenciales configuradas del propietario del flujo de trabajo. Esta vulnerabilidad está corregida en 2.25.7 y 2.26.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54306 changed 2026-06-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-2vff-hj5x-8gq7 changed 2026-07-20CC-BY-4.0
NVDCVE-2026-54306 changed 2026-10-25Public domain