Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2026-42228 EUVD-2026-27096GHSA-f77h-j2v7-g6mw

n8n: Hijacking of Unauthenticated Chat Execution

Published May 4, 2026 · Updated May 6, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
n8n-io n8n < 1.123.32, >= 2.17.0, < 2.17.4, >= 2.18.0, < 2.18.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n < 1.123.32 1.123.32 GHSA-f77h-j2v7-g6mw
npm n8n >= 2.18.0, < 2.18.1 2.18.1 GHSA-f77h-j2v7-g6mw
npm n8n >= 2.0.0, < 2.17.4 2.17.4 GHSA-f77h-j2v7-g6mw

Advisories 1

References