Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-42228

CVE-2026-42228: n8n Vulnerable to Hijacking of Unauthenticated Chat Execution

April 29, 2026 (updated May 8, 2026)

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.

Exploitation requires the following conditions:

  • The instance exposes a public Hosted Chat workflow with authentication set to None.
  • A target execution is in a waiting state at the time of the attack.
  • The attacker can obtain or discover the execution ID of that waiting execution.

References

  • github.com/advisories/GHSA-f77h-j2v7-g6mw
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-f77h-j2v7-g6mw
  • nvd.nist.gov/vuln/detail/CVE-2026-42228

Code Behaviors & Features

Detect and mitigate CVE-2026-42228 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.123.32, all versions starting from 2.0.0 before 2.17.4, all versions starting from 2.18.0 before 2.18.1

Fixed versions

  • 1.123.32
  • 2.18.1
  • 2.17.4

Solution

Upgrade to versions 1.123.32, 2.17.4, 2.18.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

npm/n8n/CVE-2026-42228.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:07 +0000.