CVE-2026-86077: n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
n8n's `/chat` WebSocket route resumed a paused execution from a resume token without checking that the node was a chat node. Anonymous form submitters receive such tokens, so an anonymous party could release an execution waiting at an approval gate. Medium severity. Fixed in n8n 2.37.7 and 2.38.2.
Published Sep 10, 2026 · Analysis Oct 24, 2026
What an attacker can do
Workflow authors put approval gates (human-in-the-loop steps) in front of actions too consequential to automate. n8n gives a resume token to anonymous people who submit a Form Trigger. The /chat WebSocket route accepted that token and resumed the paused execution. It did not check that the paused node was a chat-capable node. This is a missing authorization check (CWE-862).
An attacker needs no account. They submit the public form, keep the token, and present it on the chat route. The execution then continues past a Send-and-Wait, Telegram, Slack or Gmail approval step, or a plain Wait node, without the approver's decision. What happens next depends on the workflow: it may send a message, change records or call a paid API.
The CVSS vector rates confidentiality and integrity impact as low, because the attacker only advances the workflow and does not choose its content. Public-facing instances that combine a Form Trigger with a non-chat approval gate carry the real risk. The patch restricts resume over the chat route and Chat Hub to chat-capable node types.
Who is affected
Affected: n8n from 2.38.0 up to but not including 2.38.2, and every release below 2.37.7. The exposed pattern is a workflow that starts from a Form Trigger and later waits at a non-chat approval gate, on an instance reachable by outsiders. Check the version:
npm ls n8nFor Docker installs, check the image tag or the version shown in the n8n UI.
n8n
- Ecosystem
- npm
- Affected
- >= 2.38.0, < 2.38.2
- Fixed in
- 2.38.2
- Check
npm ls n8n
n8n
- Ecosystem
- npm
- Affected
- < 2.37.7
- Fixed in
- 2.37.7
- Check
npm ls n8n
How to fix it
Upgrade to 2.37.7 or 2.38.2, or later:
npm install -g [email protected]The advisory lists stopgaps that it says do not fully remediate the risk:
- Limit n8n instance access to fully trusted users.
- On public instances, avoid workflows that combine a Form Trigger with non-chat approval gates (Send-and-Wait, Telegram/Slack/Gmail HITL, or plain Wait nodes).
- Audit recent executions of such workflows for unexpected completion without a matching approval callback.
How to tell if you were hit
List executions of workflows that have a Form Trigger followed by a Wait or approval node. Look for executions that finished with no matching approval callback, such as a missing Slack or Telegram response or no Send-and-Wait reply. Check access logs for WebSocket upgrades to /chat from clients that never used the chat feature. The advisory names the audit of unexpected completions as its detection hint and gives no other indicators.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
The /chat WebSocket route resumed a paused execution from a resume token without checking that the node being resumed was a chat node. n8n hands that token to anonymous form submitters, so a party with no account could present it on the chat route and release an execution waiting at an approval gate, the control an author puts in front of an action considered too consequential to automate. The patch restricts resume over the chat route and Chat Hub to chat-capable node types.
Patches
The issue has been fixed in n8n versions 2.37.7 and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Avoid workflows that combine a Form Trigger with non-chat approval gates (Send-and-Wait, Telegram/Slack/Gmail HITL, or plain Wait nodes) on publicly accessible instances.
- Audit recent executions of such workflows for unexpected completion without a corresponding approval callback.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Credited to tr4ce-ju.
Questions
- Can an unauthenticated user exploit CVE-2026-86077?
Yes. n8n hands resume tokens to anonymous form submitters, and the
/chatroute accepted them for non-chat nodes. No account is needed.- Which workflows are exposed?
Workflows that begin with a Form Trigger and later wait at a non-chat approval gate: Send-and-Wait, Telegram, Slack or Gmail HITL, or a plain Wait node. Public instances are most at risk.
- Which n8n versions fix it?
2.37.7 and 2.38.2. Releases from 2.38.0 to below 2.38.2, and all releases below 2.37.7, are affected.
- Is it exploited in the wild?
The advisory does not say so, and the entry is not in CISA's KEV catalog.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More n8n vulnerabilities
All n8n entriesCVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
medium5.9Sep 10, 2026CVE-2026-86074
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
medium5.9Sep 10, 2026CVE-2026-86075
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
high8.7Sep 10, 2026CVE-2026-86076
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
high8.7Sep 10, 2026CVE-2026-86078
n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
medium6.0Sep 10, 2026CVE-2026-86079
n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers
medium6.3Sep 10, 2026
