CVE-2026-42228
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedn8n 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe /chat WebSocket endpoint in n8n's Chat Trigger node failed to verify that incoming connections were authorized to interact with target workflow executions. An unauthenticated attacker who could guess valid execution IDs for workflows in a waiting state could attach to those executions, intercept the pending prompt, and submit arbitrary input to influence workflow behavior.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.123.32>= 2.17.0, < 2.17.4= 2.18.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed n8n versionRun 'n8n --version' from command line, or check the version in the UI under Settings > About, or inspect the package.json file in the n8n installation directoryAffected if Version is < 1.123.32 OR (>= 2.17.0 AND < 2.17.4) OR = 2.18.0
-
Locate workflows using Chat Trigger nodeIn n8n UI, search for workflows containing the 'Chat Trigger' node, or query the workflow database/JSON files for nodes of type 'n8n-nodes-base.chatTrigger'Affected if Any active workflow uses the Chat Trigger node and is in a waiting state or can receive chat input
-
Verify WebSocket endpoint exposureCheck if the /chat WebSocket endpoint is accessible from untrusted networks. Inspect n8n server configuration, proxy settings, and firewall rules. Attempt a WebSocket connection to wss://<your-n8n-host>/chat from an unauthorized clientAffected if The /chat WebSocket endpoint accepts connections without additional authentication beyond n8n's basic auth
-
Check for workflow executions in waiting stateIn n8n UI, go to Executions view and filter for executions with status 'Waiting' or 'Paused', or query the execution database for executions where status indicates a waiting stateAffected if There are executions in a waiting state with predictable or enumerable execution IDs
-
Inspect WebSocket authentication configurationReview n8n configuration files (config.yaml, environment variables) for WebSocket authentication settings. Check if WebSocket security options are enabled under Settings > Security > Webhooks & APIsAffected if WebSocket authentication for the /chat endpoint is not explicitly enforced or configured
You are affected if your n8n version falls within the vulnerable ranges AND you have active workflows using the Chat Trigger node with accessible /chat WebSocket endpoint and potentially exposed waiting executions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.123.322.17.4
Upgrade to n8n versions 1.123.32, 2.17.4, or 2.18.1 which contain the authorization verification patch for the WebSocket endpoint.
1.123.32 for 1.x users; 2.17.4 for 2.17.x users; 2.18.1 for 2.18.x users
- Identify which n8n major version line you are currently running (1.x or 2.x)
- If running 1.x version: upgrade to n8n version 1.123.32 or later
- If running 2.17.x version: upgrade to n8n version 2.17.4 or later
- If running 2.18.0: upgrade to n8n version 2.18.1
- After upgrading, verify the Chat Trigger node's Hosted Chat functionality works correctly with the security fix applied
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,936.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-42228 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-42228 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data