Intel

AIKIDO-2026-149129

@midscene/web is vulnerable to Missing Authentication for Critical Function

CVE-2026-59804Published Jul 31, 2026
July 31, 2026

68

CVE Score

Medium

Missing Authentication for Critical Function

Are you affected? Scan for Free

TL;DR

Midscene bridge mode starts a local Socket.IO server that brokers browser automation commands between the CLI and the Chrome extension. The server is created with no CORS configuration, no Origin header validation, and no authentication token, so any web page loaded in the user's browser can open a cross-origin WebSocket connection to it. A connecting page can seize the single client slot to intercept and inject automation commands and read command-payload data, or immediately shut the server down by including the MIDSCENE_BRIDGE_SIGNAL_KILL query parameter. The fix restricts connections to trusted origins by validating the Origin header on every Socket.IO handshake.

How do I fix this?

Upgrade the @midscene/web library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run Midscene in bridge mode, which starts the local Socket.IO bridge server. Exploitation additionally requires the user to visit an untrusted/externally-controlled web page while a bridge session is active.

Versions

0.8.17 - 1.10.3

Fixed in 1.10.4

Background info

@midscene/web is vulnerable to Missing Authentication for Critical Function in versions 0.8.17 - 1.10.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea