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-102675 Overview
Electron is a framework for building cross-platform desktop applications using JavaScript, HTML, and CSS. CVE-2026-102675 affects responses served through protocol.registerFileProtocol or protocol.registerHttpProtocol when a custom scheme is registered with supportFetchAPI enabled but corsEnabled disabled. Under these conditions, responses remain script-readable across origins, breaking the same-origin boundary expected by developers. The issue completes remediation started in CVE-2026-70604. Applications are only affected when they expose such a scheme and load untrusted content in the same session. Schemes intentionally registered with corsEnabled enabled remain cross-origin readable by design.
Critical Impact
Untrusted web content loaded in an affected Electron session can read cross-origin responses returned by custom file or HTTP protocol handlers, leading to disclosure of application data and user content.
Affected Products
- Electron versions prior to 41.10.6
- Electron 42.x versions prior to 42.9.2
- Electron 43.x versions prior to 43.4.1 and 44.0.0 beta versions prior to 44.0.0-beta.5
Discovery Timeline
- 2026-09-29 - CVE-2026-102675 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-102675
Vulnerability Analysis
The flaw is an origin validation issue [CWE-346] in Electron's custom protocol handling. When a developer registers a scheme with supportFetchAPI: true and corsEnabled: false, Electron previously returned responses that scripts on other origins could read. This behavior contradicts the documented expectation that a non-CORS scheme produces opaque cross-origin responses. Attackers who control content loaded in the same session, such as a compromised iframe or embedded remote page, can issue fetch() calls to the custom scheme and read the returned body across origins.
Root Cause
The URLLoaderFactory implementation in shell/browser/net/electron_url_loader_factory.h did not propagate an opacity flag through the file and HTTP loading paths. Without that flag, responses were tagged as fully readable to the requesting script context regardless of origin, leaving the residual bypass that CVE-2026-70604's initial fix did not fully close.
Attack Vector
Exploitation requires user interaction, since the victim must load untrusted content inside an Electron application that registers a vulnerable scheme. Once loaded, the untrusted script issues cross-origin fetch requests to the custom scheme and reads the responses, exposing files or backend HTTP data to the attacker's origin.
// Patch: propagate tag_response_opaque through custom protocol loaders
network::mojom::URLResponseHeadPtr head,
const network::ResourceRequest& original_request,
const base::FilePath& path,
- const gin_helper::Dictionary& opts);
+ const gin_helper::Dictionary& opts,
+ bool tag_response_opaque);
static void StartLoadingHttp(
mojo::PendingRemote<network::mojom::URLLoaderClient> client,
mojo::PendingReceiver<network::mojom::URLLoader> loader,
const network::ResourceRequest& original_request,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation,
base::WeakPtr<ElectronBrowserContext> browser_context,
- const gin_helper::Dictionary& dict);
+ const gin_helper::Dictionary& dict,
+ bool tag_response_opaque);
Source: Electron commit 4d2784cc. The patch adds a tag_response_opaque parameter that marks cross-origin responses as opaque, preventing script-side reads.
Detection Methods for CVE-2026-102675
Indicators of Compromise
- Unexpected fetch() calls from untrusted origins targeting custom schemes registered by the Electron application.
- Renderer processes serving cross-origin responses from protocol.registerFileProtocol or protocol.registerHttpProtocol handlers with populated response bodies rather than opaque headers.
Detection Strategies
- Audit application source for protocol.registerFileProtocol and protocol.registerHttpProtocol calls that set supportFetchAPI: true without corsEnabled: true.
- Inventory deployed Electron runtimes to identify installations running versions prior to 41.10.6, 42.9.2, 43.4.1, or 44.0.0-beta.5.
- Enable Content Security Policy reporting in renderer processes to flag unexpected cross-origin fetches to custom schemes.
Monitoring Recommendations
- Monitor network telemetry from Electron applications for requests to custom schemes originating from unexpected iframe or subresource origins.
- Track renderer process console errors and CSP violation reports that indicate cross-origin access attempts to file or HTTP protocol handlers.
- Alert on installations of vulnerable Electron builds discovered by software inventory tooling.
How to Mitigate CVE-2026-102675
Immediate Actions Required
- Upgrade Electron to 41.10.6, 42.9.2, 43.4.1, or 44.0.0-beta.5 or later, matching the branch in use.
- Review custom protocol registrations and disable supportFetchAPI on schemes that do not require it.
- Isolate untrusted web content into a dedicated session and partition that does not register privileged custom schemes.
Patch Information
Fixed builds are available on the Electron project's release pages: v41.10.6, v42.9.2, v43.4.1, and v44.0.0-beta.5. Additional context is provided in GHSA-j84w-jfhq-vhvj and commits 4d2784cc, 80178e46, c595b059, and ef75c4b9.
Workarounds
- Enable corsEnabled: true on custom schemes and explicitly control cross-origin access with response headers if the application requires fetch access.
- Prevent untrusted remote content from loading in the same session by using sandbox: true, contextIsolation: true, and strict webPreferences on BrowserWindow and webContents.
- Enforce a strict Content Security Policy that restricts connect-src and frame-src to trusted origins, blocking fetches from attacker-controlled contexts.
# Verify installed Electron version against the patched releases
npm ls electron
npx electron --version
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

