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 package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | >= 2.26.0, < 2.26.2, < 2.25.7 | CVE List |
| n8n (npm) | from 2.26.0 before 2.26.2, before 2.25.7 | GitHub Advisory Database |
| n8n n8n | before 2.25.7, from 2.26.0 before 2.26.2 | NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Classification
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
| https://github.com/n8n-io/n8n/security/advisories/GHSA-2vff-hj5x-8gq7 | mitigation, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-54306 | advisory | |
| https://github.com/n8n-io/n8n | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54306 changed 2026-06-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2vff-hj5x-8gq7 changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-54306 changed 2026-10-25 | Public domain |