Missing Authorization Affecting n8n package, versions <1.123.32>=2.0.0-rc.0 <2.17.4>=2.18.0 <2.18.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8N-16353450
  • published3 May 2026
  • disclosed29 Apr 2026
  • credit34selen

Introduced: 29 Apr 2026

NewCVE-2026-42228  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade n8n to version 1.123.32, 2.17.4, 2.18.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Missing Authorization via the /chat WebSocket endpoint when authentication is set to None and a workflow execution is in a waiting state. An attacker can gain unauthorized access to workflow executions and influence downstream workflow behavior by attaching to an execution using a discovered execution ID and submitting arbitrary input.

Note: This is only exploitable if the Hosted Chat workflow is publicly exposed with authentication set to None, a target execution is in a waiting state, and the attacker can obtain the execution ID.

Workaround

This vulnerability can be mitigated by enabling authentication on all Chat Trigger nodes by setting the Authentication field to n8n User Auth rather than None.

CVSS Base Scores

version 4.0
version 3.1