CVE-2026-54306

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

Published Jun 23, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

n8n, an open‑source workflow automation platform, is affected by a prototype‑pollution flaw that allows an attacker to craft a public webhook payload injecting attacker‑controlled fields into workflow data during internal object copying. These injected fields are surfaced as normal values by downstream built‑in nodes, giving the workflow the ability to act as a confused deputy: it can target unintended records or issue outbound requests using the workflow owner's configured credentials. The vulnerability is fixed in n8n releases 2.25.7 and 2.26.2.

Affected Systems

This issue affects n8n‑io's n8n platform in all releases prior to 2.25.7 and 2.26.2. Users running any earlier version that exposes public webhooks should consider this vulnerability present.

Risk and Exploitability

The CVSS score of 6.3 indicates medium severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is external over the network: an attacker can send a crafted HTTP request to a public webhook endpoint and inject arbitrary properties that are subsequently processed by downstream nodes, enabling unintended execution with the workflow owner's credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.25.7 or later, or to 2.26.2 if using the 2.26 branch.
  • If an immediate upgrade is not possible, restrict the exposure of public webhook endpoints to trusted IP addresses or internal networks.
  • Implement input validation or sanitization for webhook payloads to block unexpected fields before they are processed by downstream nodes.

Generated by OpenCVE AI on June 24, 2026 at 11:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2vff-hj5x-8gq7 n8n: Prototype Pollution enables confused-deputy execution via public webhooks
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n
Type Values Removed Values Added
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.
Title n8n: Prototype Pollution enables confused-deputy execution via public webhooks
Weaknesses CWE-1321
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-1321

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 26, 2026, 7:29 PM
Reserved
Jun 12, 2026, 5:46 PM
Status
Analyzed
Published
Jun 23, 2026, 5:17 PM
Modified
Oct 25, 2026, 11:10 PM