CVE-2026-65014

n8n before 2.28.0 Authentication Bypass via test-webhook

Published Jul 22, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
n8n before 2.28.0 (and before 2.27.4 on the 2.27.x branch) registers the DELETE /${restEndpoint}/test-webhook/:id endpoint before authentication middleware is applied, allowing any unauthenticated network caller who knows a workflow ID to cancel that workflow's active test webhook registration. The impact is limited to disrupting in-progress test sessions; production webhooks, persistent workflow state, and stored data are not affected.

Analysis

AI-generated

Technical impact

An unauthenticated network caller who knows a workflow ID can issue a DELETE request to the /$endpoint/test-webhook/:id route before authentication middleware is executed. The resulting cancellation stops an in‑progress test session but does not affect the workflow’s persistent state, production webhooks, or stored data. Consequently, the flaw provides only a limited Denial‑of‑Service to test functionality rather than a full system compromise.

Affected Systems

All n8n instances running a version earlier than 2.28.0, including branches prior to 2.27.4 on the 2.27.x series, are affected. The vulnerability exists in the n8n‑io:n8n product and can be triggered by any user with network connectivity to the exposed endpoint.

Risk and Exploitability

The CVSS score of 6.3 classifies the flaw as moderate. The EPSS score of <1% indicates a very low exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog, implying a low likelihood of exploitation under normal conditions. The attack vector is remote, requiring knowledge of a workflow ID; it does not require elevated privileges or compromise of the host. While exploitation could disrupt testing workflows, it does not threaten production data or credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.28.0 or later to eliminate the unauthenticated endpoint registration.
  • Mitigate the Missing Authentication (CWE‑306) flaw by enforcing authentication middleware on all API routes, ensuring no route is registered before authentication is applied.
  • Limit network exposure of the /test‑webhook endpoint by applying firewall rules or access control lists to allow only trusted hosts.
  • Monitor audit logs for unexpected DELETE requests on the /test‑webhook URI and investigate anomalies to detect potential exploitation.

Generated by OpenCVE AI on August 4, 2026 at 00:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-33q9-f52j-gc75 n8n: Unauthenticated Endpoint Allows Cancellation of Any User's Active Test Webhook
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description n8n before 2.28.0 (and before 2.27.4 on the 2.27.x branch) registers the DELETE /${restEndpoint}/test-webhook/:id endpoint before authentication middleware is applied, allowing any unauthenticated network caller who knows a workflow ID to cancel that workflow's active test webhook registration. The impact is limited to disrupting in-progress test sessions; production webhooks, persistent workflow state, and stored data are not affected.
Title n8n before 2.28.0 Authentication Bypass via test-webhook
First Time appeared N8n
N8n n8n
Weaknesses CWE-306
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Jul 21, 2026, 11:32 AM
Status
Analyzed
Published
Jul 22, 2026, 12:18 PM
Modified
Oct 29, 2026, 9:17 PM