Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-42228n8n: Hijacking of Unauthenticated Chat Execution
Medium 6.3
In plain English
A medium-severity missing authorization in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the /chat WebSocket endpoint used by the Chat Trigger node's Hosted Chat feature did not verify that an incoming connection was authorized to interact with the target execution. An unauthenticated remote attacker who could identify a valid execution ID for a workflow in a waiting state could attach to that execution, receive the pending prompt intended for the legitimate user, and submit arbitrary input to resume or influence downstream workflow behavior. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 1.123.32 | GHSA-f77h-j2v7-g6mw |
| npm | n8n | 2.18.1 | GHSA-f77h-j2v7-g6mw |
| npm | n8n | 2.17.4 | GHSA-f77h-j2v7-g6mw |
Affected products (as reported)
Weakness: CWE-862 · 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
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f77h-j2v7-g6mw x_refsource_CONFIRM