CVE-2026-65014: n8n before 2.28.0 Authentication Bypass via test-webhook
Impact The DELETE /${restEndpoint}/test-webhook/:id route is registered before the 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.
Patches Users should upgrade to the patched version once available to remediate the vulnerability.
Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Restrict network access to the n8n instance to fully trusted users only. - Place the n8n instance behind a reverse proxy or firewall that requires authentication before reaching the REST API.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/n8nto a version that resolves this vulnerability.Fixed in 2.27.4 - Compensating control
Place the n8n instance behind a reverse proxy or firewall that requires authentication before reaching the REST API.
- Compensating control
Restrict network access to the n8n instance to fully trusted users only (limit who can reach the REST API endpoints).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-65014?
CVE-2026-65014 has a medium severity rating of 6.3 on the CVSS scale.
What type of vulnerability is CVE-2026-65014?
CVE-2026-65014 is an authentication bypass vulnerability that allows unauthorized access to certain functions.
How do I fix CVE-2026-65014?
To fix CVE-2026-65014, upgrade to n8n version 2.28.0 or later, where the authentication middleware issue has been resolved.
What is the impact of CVE-2026-65014?
The impact of CVE-2026-65014 allows any unauthenticated user to cancel an active test webhook if they know the corresponding workflow ID.
Who is affected by CVE-2026-65014?
CVE-2026-65014 affects all versions of n8n prior to 2.28.0.