AgentbeamBeta
AI agent vulnerability · n8n

GHSA-jh8h-6c9q-7gmw: n8n has an Authentication Bypass in its Chat Trigger Node

mediumCVSS 4.0 6.3 · 3.1 4.8

When the n8n Chat Trigger node uses n8n User Auth, its authentication check can be circumvented. Only that non-default setting is affected. Fixed in n8n 1.123.22, 2.9.3 and 2.10.1.

Published Feb 26, 2026 · Analysis Nov 8, 2026

What an attacker can do

The Chat Trigger node exposes a chat endpoint for a workflow, often one backed by an AI agent. It can authenticate callers with n8n User Auth, which means they must be signed in as an n8n user. In affected versions that check could be circumvented (CWE-287), so an unauthenticated caller could reach the chat. The advisory does not describe the technique.

The attacker needs network access to the chat webhook endpoint and no account. The attack complexity is high in CVSS 3.1 and the effect on confidentiality and integrity is low.

In practice, a chat workflow that was meant for signed-in staff becomes reachable by outsiders. If the workflow connects an agent to internal data or tools, the outsider can send it prompts and read its answers. The workflow's own permissions and credentials set how far that goes.

Who is affected

npm package n8n: versions before 1.123.22, versions 2.0.0 up to but not including 2.9.3, and 2.10.0. Only workflows whose Chat Trigger node is set to n8n User Auth are affected, which is not the default. Check the version:

npm ls -g n8n

In Docker, check the image tag.

n8n

Ecosystem
npm
Affected
< 1.123.22
Fixed in
1.123.22
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0, < 2.9.3
Fixed in
2.9.3
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.10.0, < 2.10.1
Fixed in
2.10.1
Check
npm ls n8n

How to fix it

Upgrade to one of these releases or later: 1.123.22, 2.9.3 or 2.10.1.

npm install -g [email protected]

The advisory also names stopgaps that do not fully fix it: limit workflow creation and editing to trusted users, use a different authentication method for the Chat Trigger node, or restrict network access to the webhook endpoint to trusted origins.

How to tell if you were hit

Look in the execution history of chat workflows with n8n User Auth for runs that no signed-in user can account for. Check access logs for requests to the chat webhook path from addresses outside your network or user base. Review what the agent behind the chat did in those runs, such as which tools it called and which data it returned.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

When the Chat Trigger node is configured with n8n User Auth authentication, the authentication check could be circumvented.

  • This issue requires the Chat Trigger node to be configured with n8n User Auth authentication (non-default).

Patches

The issue has been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. 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:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Use a different authentication method for the Chat Trigger node, or restrict network access to the webhook endpoint to trusted origins.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Credited to sm1ee.

Questions

Is every Chat Trigger node affected by GHSA-jh8h-6c9q-7gmw?

No. Only nodes configured with n8n User Auth, which is a non-default setting, are affected.

Which n8n releases fix GHSA-jh8h-6c9q-7gmw?

1.123.22, 2.9.3 and 2.10.1, each for its own release line. Upgrade to one of them or later.

Is there a workaround for GHSA-jh8h-6c9q-7gmw?

Use a different authentication method for the node, or limit network access to trusted origins. The advisory says these steps do not fully remove the risk.

Does the attacker need an n8n account?

No. The flaw lets the authentication check be circumvented, so an unauthenticated caller can reach the chat endpoint.

References

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 entries