NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · n8n

CVE-2026-54309: n8n: MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions

highCVSS 4.0 8.8 · 3.1 10.0GHSA-qrx8-25qr-5r7v

When @n8n/mcp-browser runs with --transport http, its MCP endpoint needs no authentication. Any client that can reach the port, or any website the user visits, can open a session and call browser-control tools. With the n8n AI Browser Bridge extension connected, that includes JavaScript evaluation and cookie access in the user's real browser. Fixed in n8n 2.25.7 and 2.26.2.

Published Jun 16, 2026 · Updated Jul 20, 2026 · Analysis Nov 2, 2026

What an attacker can do

The @n8n/mcp-browser package exposes browser-control tools over MCP. In HTTP transport mode, the endpoint accepts session initialization and tool invocation requests from anyone. The advisory notes that a website the user visits can also reach it, which fits a local listener that a web page can call from the browser.

The damage depends on the n8n AI Browser Bridge extension. If it is installed and a browser connection is active, an unauthenticated caller gets navigation, JavaScript evaluation, and cookie and storage access against the user's real browser profile. That means logged-in sessions to email, source hosts, cloud consoles and internal tools, with actions taken as the user.

No account or user interaction is needed. The CVSS 3.1 score is 10.0 because the scope changes from the MCP server to the browser. The default transport, stdio, is not affected. Only setups started with --transport http are exposed.

Who is affected

n8n npm releases below 2.25.7, and from 2.26.0 below 2.26.2, when @n8n/mcp-browser is run with --transport http. The default stdio transport is not affected. Check the version with:

npm ls n8n

Then check how the browser MCP server is launched: look for --transport http in process arguments, MCP client configs and service definitions. Exposure is highest where the extension is installed and a browser connection is active.

n8n

Ecosystem
npm
Affected
>= 2.26.0, < 2.26.2
Fixed in
2.26.2
Check
npm ls n8n

n8n

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

How to fix it

Upgrade to n8n 2.25.7 or 2.26.2, or later:

npm install -g [email protected]

Temporary mitigations from the advisory, which it says do not fully remove the risk:

  • Do not use HTTP transport. Use the default stdio transport.
  • If HTTP is required, limit access to the listening port to trusted clients with host-based firewall rules.

How to tell if you were hit

Find processes started with @n8n/mcp-browser and --transport http, and the ports they listen on. Check for connections to that port from addresses other than your own MCP client. Review browser activity for navigation, script evaluation or cookie access you did not start, and check whether the AI Browser Bridge extension was connected at the time. The advisory publishes no log signature. If an AI agent is in the loop, Beam records MCP tool calls and agent shell commands, which helps separate agent calls from unknown ones.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

When @n8n/mcp-browser is run in HTTP transport mode, the MCP endpoint accepts session initialization and tool invocation requests without any authentication. Any network-reachable client, or any website visited by the user, can establish an MCP session and invoke browser-control tools.

Where the n8n AI Browser Bridge extension is installed and a browser connection is active, an unauthenticated caller can access browser-control capabilities including navigation, JavaScript evaluation, and cookie and storage access against the user's real browser profile.

This issue only affects instances where @n8n/mcp-browser is run with the HTTP transport (--transport http). The default transport is stdio, which is not affected.

Patches

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

  • Avoid running @n8n/mcp-browser with the HTTP transport; use the default stdio transport instead.
  • If HTTP transport is required, restrict network access to the listening port to trusted clients only using host-based firewall rules.

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

Credited to ESPanda666.

Questions

Is the default n8n MCP browser setup affected by CVE-2026-54309?

No. The default transport is stdio, which the advisory says is not affected. Only runs with --transport http are exposed.

Can a website really reach the MCP endpoint?

The advisory says any network-reachable client, or any website visited by the user, can establish an MCP session when HTTP transport is on, since there is no authentication.

What does the browser extension change?

With the n8n AI Browser Bridge installed and a connection active, an attacker gets navigation, JavaScript evaluation, and cookie and storage access in the real browser profile.

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