The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42228

CVE-2026-42228: N8n Auth Bypass Vulnerability

CVE-2026-42228 is an authentication bypass flaw in N8n's Chat Trigger WebSocket endpoint that allows unauthenticated attackers to hijack workflow executions. This post covers the technical details, affected versions, and patches.

Published: May 7, 2026

CVE-2026-42228 Overview

CVE-2026-42228 is a missing authorization vulnerability [CWE-862] in n8n, an open source workflow automation platform. The flaw exists in the /chat WebSocket endpoint used by the Chat Trigger node's Hosted Chat feature. The endpoint failed to verify that an incoming connection was authorized to interact with the target execution.

An unauthenticated remote attacker who can identify a valid execution ID for a workflow in a waiting state can attach to that execution. The attacker can receive the pending prompt intended for the legitimate user and submit arbitrary input to resume or influence downstream workflow behavior. The issue is patched in versions 1.123.32, 2.17.4, and 2.18.1.

Critical Impact

Unauthenticated remote attackers can hijack waiting Chat Trigger executions, intercept prompts intended for legitimate users, and inject arbitrary input that alters workflow logic.

Affected Products

  • n8n versions prior to 1.123.32
  • n8n versions in the 2.17.x branch prior to 2.17.4
  • n8n version 2.18.0 (fixed in 2.18.1)

Discovery Timeline

  • 2026-05-04 - CVE-2026-42228 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-42228

Vulnerability Analysis

The n8n Chat Trigger node provides a Hosted Chat feature that uses a WebSocket connection at /chat to deliver prompts to users and receive their responses during workflow execution. When a workflow reaches a chat step, it enters a waiting state and pauses until input arrives over the WebSocket channel.

The vulnerable code path accepts incoming WebSocket connections referencing an execution ID without confirming the requesting client is authorized to interact with that execution. Any client able to supply a valid execution ID joins the session as if it were the legitimate participant.

This enables two abuse scenarios. First, the attacker reads the pending prompt sent by the workflow, which may include sensitive context, user data, or operational details. Second, the attacker submits input that the workflow consumes as user response, redirecting subsequent automation steps such as approvals, data writes, or downstream integrations.

Root Cause

The root cause is a missing authorization check on the WebSocket handshake for the /chat endpoint. The server treated knowledge of an execution ID as sufficient proof of identity. Execution IDs are not designed as authentication secrets and may be observable, guessable, or leaked through logs and integrations.

Attack Vector

Attackers exploit this remotely over the network without credentials or user interaction. The attacker enumerates or otherwise obtains a valid execution ID for a workflow currently waiting on Chat Trigger input. They then open a WebSocket connection to /chat referencing that execution ID and interact with the session in place of the intended user.

The vulnerability mechanism is described in the n8n GitHub Security Advisory GHSA-f77h-j2v7-g6mw. No public proof-of-concept code is available at this time.

Detection Methods for CVE-2026-42228

Indicators of Compromise

  • Unexpected WebSocket connections to the /chat endpoint originating from IP addresses not associated with legitimate workflow users.
  • Multiple concurrent WebSocket sessions referencing the same execution ID.
  • Workflow executions that resume from chat steps with input inconsistent with expected user behavior or content patterns.

Detection Strategies

  • Inspect n8n application logs for /chat WebSocket handshakes and correlate the source IP with the user expected to respond to that execution.
  • Audit execution histories for chat-driven workflows and flag any where the resume input arrived from an unrecognized session.
  • Deploy reverse proxy logging in front of n8n to capture WebSocket Upgrade requests and the executionId parameter for review.

Monitoring Recommendations

  • Alert on a high rate of failed or rapid sequential /chat connection attempts, which may indicate execution ID enumeration.
  • Monitor for workflow runs that complete via Chat Trigger but have no corresponding authenticated user activity in upstream identity logs.
  • Forward n8n access and execution logs to a centralized SIEM or data lake for retention and cross-correlation.

How to Mitigate CVE-2026-42228

Immediate Actions Required

  • Upgrade n8n to 1.123.32, 2.17.4, or 2.18.1 depending on the deployed release branch.
  • Inventory all workflows that use the Chat Trigger node with the Hosted Chat feature and review recent executions for anomalous resume input.
  • Restrict network exposure of the n8n instance so the /chat endpoint is not reachable from untrusted networks while patching is in progress.

Patch Information

n8n maintainers released fixed versions 1.123.32, 2.17.4, and 2.18.1. The patches add authorization verification on incoming /chat WebSocket connections so that only clients authorized for the target execution can attach. Refer to the n8n GitHub Security Advisory GHSA-f77h-j2v7-g6mw for release notes.

Workarounds

  • Disable Chat Trigger workflows that use the Hosted Chat feature until upgrade is complete.
  • Place the n8n instance behind an authenticating reverse proxy or VPN that restricts WebSocket access to known users.
  • Rotate or invalidate any execution IDs from waiting workflows that were active prior to patching, and re-trigger those workflows after upgrade.
bash
# Upgrade n8n via npm to a patched release
npm install -g [email protected]

# Or for Docker deployments, pull the patched image tag
docker pull n8nio/n8n:2.18.1
docker stop n8n && docker rm n8n
docker run -d --name n8n -p 5678:5678 n8nio/n8n:2.18.1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechN8n

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-862
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42226: N8n Auth Bypass Vulnerability

  • CVE-2026-42227: N8n Workflow Automation Auth Bypass Flaw

  • CVE-2026-42230: N8n Auth Bypass Vulnerability

  • CVE-2026-33722: n8n Workflow Automation Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English