CVE-2026-59804: Midscene Bridge Server Authentication Bypass & CORS Misconfiguration
Midscene Bridge Server versions up to 1.10.3 fail to validate the origin of incoming WebSocket connections and do not require authentication tokens. An attacker can open a malicious website, and when a victim visits it, the attacker's page can connect to the victim's local Socket.IO server without any authentication. Once connected, the attacker can take over the active bridge session, intercept automation commands, inject malicious instructions, steal data from command payloads, or crash the server entirely. The vulnerability requires user interaction—the victim must visit a malicious site—but once triggered, it grants near-complete control over any active Midscene Bridge automation.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.8 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Weaknesses (CWE)
- CWE-1385, CWE-306
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-10
NVD description (verbatim)
Midscene Bridge Server through 1.10.3, fixed in commit 86f4118, contains a missing authentication and CORS misconfiguration vulnerability that allows unauthenticated remote attackers to hijack active bridge sessions by opening a cross-origin WebSocket connection to the local Socket.IO server, which performs no Origin header validation and requires no authentication token. Attackers can connect from any web page visited by the victim to seize the single-client slot, intercept and inject automation commands, exfiltrate command-payload data, or unconditionally terminate the server by supplying the MIDSCENE_BRIDGE_SIGNAL_KILL query parameter.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-59804 is a combined authentication bypass and Cross-Origin Resource Sharing (CORS) misconfiguration affecting Midscene Bridge Server through version 1.10.3. The Socket.IO server listens on localhost and accepts WebSocket connections without validating the Origin header or requiring an authentication token. An attacker can craft a web page that, when visited by a victim, opens a cross-origin WebSocket connection to the victim's local Socket.IO endpoint (typically localhost:8080 or similar). Since the server performs no origin validation, the connection succeeds. The attacker then occupies the single-client slot, allowing them to intercept, modify, or inject automation commands. Additionally, sending the MIDSCENE_BRIDGE_SIGNAL_KILL query parameter during connection terminates the server unconditionally. The vulnerability was fixed in commit 86f4118.
Business impact
Organizations deploying Midscene Bridge for test automation or robotic process automation (RPA) face significant risk if users browse untrusted websites while the bridge is active. Attackers can compromise automation workflows by injecting malicious commands, exfiltrating sensitive test data or credentials passed in command payloads, or halting automation pipelines by killing the server. In environments where Bridge runs on developer machines or CI/CD agents, session hijacking could lead to unauthorized test execution, data theft, or pipeline sabotage. The single-client limitation means only one legitimate user can connect at a time, so session theft results in immediate denial of service to the legitimate operator.
Affected systems
Midscene Bridge Server versions through 1.10.3 are affected. The vulnerability is present in any deployment where the Socket.IO server is accessible (typically on localhost or internal networks). Patches are available in versions after 1.10.3; verify the exact patched version against the official Midscene release notes and advisory. No other Midscene components are described as affected in the available data.
Exploitability
The vulnerability is moderately exploitable. It requires user interaction—the victim must visit an attacker-controlled website while the Bridge server is running—but no special network access, authentication, or complex attack chains are needed. The attack surface is the victim's browser. An attacker simply embeds a JavaScript snippet in a webpage that initiates a WebSocket connection to localhost. The attack succeeds if the victim's machine is running Midscene Bridge and the server is configured to accept connections (the default). Notably, the attack does not require the attacker to guess any tokens or perform network reconnaissance; the bridge is discoverable and accessible by design to any code running in the victim's browser context.
Remediation
Update Midscene Bridge Server to a patched version released after 1.10.3. Verify the patch version and installation process with the official Midscene project documentation. Implement network-level controls to restrict access to the Socket.IO server (e.g., bind to 127.0.0.1 only, not 0.0.0.0). Run Midscene Bridge in isolated user contexts or containers to limit the scope of compromise. Educate users and developers to be cautious when visiting untrusted websites while automation services are active. Consider disabling or pausing the bridge when not in use.
Patch guidance
Apply the patch included in commit 86f4118 or upgrade to the first released version containing this commit. Check the official Midscene release notes and GitHub repository for the exact patched release version number. Most users will upgrade via package manager (npm, pip, Docker, etc.) or by pulling the latest code from the main branch. Patched deployments should include proper Origin header validation and require authentication tokens for all WebSocket connections. Test the patched version in a staging environment before rolling out to production automation workflows.
Detection guidance
Monitor for unexpected WebSocket connections to the local Socket.IO server from external origins. Enable browser console logging in development/test environments to catch malicious JavaScript attempting to connect to localhost. Review server logs and network traffic for connections lacking valid authentication tokens or with invalid Origin headers. Implement network segmentation so that the Socket.IO server is only accessible from trusted source IPs. Use browser security policies (Content Security Policy) to restrict script execution and WebSocket connections in corporate environments. Check for the presence of the MIDSCENE_BRIDGE_SIGNAL_KILL parameter in server logs or network captures, which indicates an attempted denial-of-service attack.
Why prioritize this
Although this vulnerability carries a CVSS score of 6.8 (MEDIUM), it warrants priority attention because: (1) it enables complete session hijacking and data exfiltration with modest user interaction, (2) it affects automation and RPA deployments that may process sensitive data or credentials, (3) patches are available and the fix is straightforward, and (4) the attack surface is large in environments where developers browse the web while automation is running. Organizations should treat this as a near-term patching priority, especially if Midscene Bridge is used in security testing, CI/CD, or data processing pipelines.
Risk score, explained
The CVSS 3.1 score of 6.8 (MEDIUM) reflects: Network-based attack vector (AV:N), high complexity due to user interaction and the attacker's dependence on the victim visiting a malicious site (AC:H), no privileges required (PR:N), user interaction mandatory (UI:R), unchanged scope (S:U), high confidentiality impact via data exfiltration (C:H), high integrity impact via command injection (I:H), and no availability impact in the traditional sense (A:N)—though the server can be terminated, the scoring vector does not penalize this. The score is appropriate for a session-hijacking vulnerability, but organizations handling sensitive automation should consider their own risk tolerance and threat model.
Frequently asked questions
Does this vulnerability affect Midscene Bridge Server running on a public IP address or only localhost?
The vulnerability affects any Socket.IO server endpoint reachable from the attacker's browser, whether on localhost, a private network, or a public IP. However, the most practical attack scenario targets developers running Bridge on localhost while visiting untrusted websites. If the server is bound to a public IP without authentication, the attack surface is global. Binding to 127.0.0.1 (localhost only) significantly reduces risk, but is not a substitute for applying the security patch.
Can attackers exploit this vulnerability without the victim visiting a malicious website?
The vulnerability requires user interaction in the form of the victim visiting an attacker-controlled website or visiting a legitimate website that has been compromised by malicious scripts. The attacker cannot directly connect to the victim's Bridge server from the internet unless that server is publicly exposed; the attack leverages the victim's browser as a trusted client. If the Bridge server is only accessible within a trusted network and users do not browse untrusted sites from machines running Bridge, the practical risk is lower.
What data can attackers steal if they hijack a Bridge session?
Attackers gain access to the command payload data flowing through the hijacked session. This may include automation scripts, test data, credentials, API keys, or sensitive business information embedded in the automation workflow. The exact sensitive data depends on what the automation pipeline processes. Additionally, attackers can observe and intercept all commands sent by the legitimate operator, potentially exposing intellectual property or operational procedures.
Is applying a patch the only mitigation, or are there interim workarounds?
Patching is the definitive fix. Interim mitigations include: restricting network access to the Socket.IO server (bind to localhost only), running Bridge in an isolated container or virtual machine, pausing or disabling Bridge when not actively needed, and implementing network-level access controls or firewalls. However, these mitigations do not prevent the vulnerability if a user browses the web on the same machine. Patching should be treated as urgent.
This analysis is based on published CVE data and vendor advisories as of July 2026. Specific patch version numbers, installation instructions, and detailed remediation steps should be verified against the official Midscene project repository and security advisories. SEC.co does not provide legal advice or guarantee the completeness of mitigation strategies. Organizations should conduct their own risk assessment and security testing. No exploit code or weaponized proof-of-concept is provided or endorsed. Always test patches in a staging environment before production deployment. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10054HIGHEclipse Theia Unauthenticated Terminal RPC Vulnerability
- CVE-2026-10283MEDIUMBottelet DaybydayCRM Authentication Bypass in Settings Handler
- CVE-2026-11238MEDIUMChrome DevTools Memory Disclosure via Malicious Extension
- CVE-2026-11848MEDIUMiRM-IEI Remote Management Missing Authentication Vulnerability
- CVE-2026-14714MEDIUMCowAgent 2.1.0 WeChat Authentication Bypass – Exploit, Patch & Mitigation
- CVE-2026-15063MEDIUMtrustyai-service-operator Gorch Service Metrics Authentication Bypass
- CVE-2026-15192MEDIUMMissing Authentication in Mettle Sendportal APIv1 Webhooks
- CVE-2026-25599MEDIUMOrca Heat Pump Unauthenticated HTTP and Stored XSS Vulnerability