Skip to content
MediumVulnerability

GHSA-f77h-j2v7-g6mw: n8n Vulnerable to Hijacking of Unauthenticated Chat Execution

Published
Record updated
View JSON
Affected
  • n8n >= 2.0.0, < 2.17.4, fixed in 2.17.4, released April 22, 2026, 7 days before disclosure
  • n8n >= 2.18.0, < 2.18.1, fixed in 2.18.1, released April 22, 2026, 7 days before disclosure
  • n8n < 1.123.32, fixed in 1.123.32, released April 22, 2026, 7 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

The `/chat` WebSocket endpoint used by n8n's Chat Trigger node did not verify that incoming connections were authorized for 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 meant for the legitimate user, and submit arbitrary input to resume or influence downstream workflow behavior. Exploitation requires a public Hosted Chat workflow with authentication set to `None`, a target execution in a waiting state, and knowledge of that execution ID.

Mitigation

Fixed in n8n versions 1.123.32, 2.17.4, and 2.18.1; upgrade to one of these or later. Temporary workaround if upgrading is not immediately possible: set the Authentication field on all Chat Trigger nodes to `n8n User Auth` rather than `None`. The source states this workaround does not fully remediate the risk and should only be used as a short-term measure.