Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102878 Overview
CVE-2026-102878 is an origin validation error [CWE-346] affecting mcp-chrome-bridge through version 1.0.31. The vulnerability resides in the native-server HTTP API, which fails to properly enforce Cross-Origin Resource Sharing (CORS) restrictions. Attackers can craft malicious web pages that issue cross-origin requests to the local server running on the victim's machine. Successful exploitation lets attackers invoke browser automation tools exposed by the bridge, including arbitrary script execution, page content reading, and screenshot capture.
Critical Impact
A malicious webpage visited by a user running mcp-chrome-bridge can hijack the local Model Context Protocol (MCP) server to execute scripts in the browser, exfiltrate page content, and capture screenshots without user consent.
Affected Products
- mcp-chrome-bridge versions through 1.0.31
- Native-server HTTP API component of the MCP Chrome project
- Browser environments where the local MCP bridge is running
Discovery Timeline
- 2026-09-29 - CVE-2026-102878 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-102878
Vulnerability Analysis
The mcp-chrome-bridge package runs a local HTTP server that exposes browser automation endpoints to MCP clients. These endpoints are powerful by design, permitting script injection into browser tabs, page content retrieval, and screenshot capture. Because the server listens on the loopback interface, it must rely on browser-enforced origin checks to prevent untrusted web content from reaching its API.
The native-server implementation does not validate the Origin header on incoming HTTP requests. It also returns permissive CORS response headers, allowing browsers to complete cross-origin requests from arbitrary sites. Any webpage a user visits can therefore issue fetch calls to the local endpoint and receive responses.
This converts a local automation tool into a remotely reachable attack surface. The impact is high for both confidentiality and integrity, since the attacker can read arbitrary page content and inject scripts into the victim's active browser sessions.
Root Cause
The root cause is missing origin validation in the HTTP request handler within app/native-server/src/server/index.ts. The server does not enforce an allowlist of trusted origins and does not reject preflight or simple requests originating from unrelated domains. See the GitHub Source Code Index File and GitHub Issue #384 for MCP Chrome for maintainer discussion.
Attack Vector
Exploitation requires the victim to have mcp-chrome-bridge running locally and to visit an attacker-controlled webpage. The malicious page issues cross-origin fetch requests to the loopback address and port where the native server listens. Because CORS is not enforced, the browser accepts the responses and the attacker's JavaScript can chain requests to invoke script execution, extract page content, or trigger screenshot capture.
Refer to the VulnCheck Advisory for MCP Chrome for additional technical context. No public proof-of-concept exploit code is referenced in the advisory.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-102878
Indicators of Compromise
- Unexpected inbound HTTP requests to the mcp-chrome-bridge native-server port originating from browser processes with non-local Referer or Origin headers.
- Unexplained execution of the browser automation executeScript, getContent, or captureScreenshot tool endpoints in mcp-chrome logs.
- Outbound network connections from the browser to unfamiliar domains immediately preceding local API activity.
Detection Strategies
- Inspect native-server access logs for HTTP requests whose Origin header does not match an approved MCP client.
- Monitor process telemetry for the mcp-chrome-bridge process handling requests correlated with recent browser navigation events.
- Correlate browser DNS resolutions with subsequent loopback API invocations to identify webpage-triggered automation calls.
Monitoring Recommendations
- Enable verbose logging in mcp-chrome-bridge and forward logs to a centralized analytics platform for review.
- Alert on any use of tool endpoints such as script execution or screenshot capture outside of expected MCP client sessions.
- Track version inventory of mcp-chrome-bridge across developer workstations to identify hosts running 1.0.31 or earlier.
How to Mitigate CVE-2026-102878
Immediate Actions Required
- Stop or uninstall mcp-chrome-bridge versions at or below 1.0.31 on all workstations until a fixed release is applied.
- Restrict developer machines from browsing untrusted web content while the MCP bridge is running.
- Audit local firewall rules to confirm the native-server port is not exposed beyond loopback.
Patch Information
At the time of publication, the NVD entry references the upstream GitHub Repository for MCP Chrome and GitHub Issue #384 for MCP Chrome. Users should monitor the repository for a release beyond 1.0.31 that enforces strict origin validation and remove any vulnerable installations in the interim.
Workarounds
- Terminate the mcp-chrome-bridge process when not actively using MCP-integrated workflows.
- Use a browser profile dedicated to MCP work that does not visit arbitrary external websites.
- Apply host-based firewall rules to block non-approved processes from connecting to the native-server loopback port.
# Example: block non-loopback and unauthorized access to the mcp-chrome-bridge port on Linux
# Replace <PORT> with the native-server listen port
sudo iptables -A INPUT -p tcp --dport <PORT> ! -i lo -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

