n8n: Hijacking of Unauthenticated Chat Execution
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-42228. PoCs published by rudSarkar.
AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-42228, an unauthenticated chat execution hijacking vulnerability in n8n. The exploit leverages a WebSocket endpoint that fails to validate user authorization, allowing an attacker to inject arbitrary chat input into a waiting workflow execution.
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.
Exploits (1)
This repository contains a functional exploit PoC for CVE-2026-42228, an unauthenticated chat execution hijacking vulnerability in n8n. The exploit leverages a WebSocket endpoint that fails to validate user authorization, allowing an attacker to inject arbitrary chat input into a waiting workflow execution.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N