Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-70606 EUVD-2026-53445GHSA-r4w5-6pfg-jxp5

Electron: ProtocolResponse.url reuses the default session cache instead of the registering session

Published Aug 5, 2026 · Updated Aug 5, 2026 · Assigned by GitHub_M

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 40.10.6, 41.9.1, 42.5.1, and 43.0.0, when a custom protocol handler returned a ProtocolResponse with a url and no session, Electron made the upstream request through defaultSession instead of the session that handled the protocol. A cached response could then be reused across otherwise isolated session partitions. Apps that use ProtocolResponse.url, omit ProtocolResponse.session, and rely on separate sessions to isolate content are affected. This issue is fixed in versions 40.10.6, 41.9.1, 42.5.1, and 43.0.0.

Affected products

VendorProductAffectedFixed
electron electron >= 40.0.0-alpha.1, < 40.10.6, >= 41.0.0-alpha.1, < 41.9.1, >= 42.0.0-alpha.1, < 42.5.1, >= 43.0.0-alpha.1, < 43.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron >= 43.0.0-alpha.1, < 43.0.0 43.0.0 GHSA-r4w5-6pfg-jxp5
npm electron >= 42.0.0-alpha.1, < 42.5.1 42.5.1 GHSA-r4w5-6pfg-jxp5
npm electron >= 41.0.0-alpha.1, < 41.9.1 41.9.1 GHSA-r4w5-6pfg-jxp5
npm electron >= 40.0.0-alpha.1, < 40.10.6 40.10.6 GHSA-r4w5-6pfg-jxp5

References