Vulnerability · Published Aug 5, 2026 · Assigned by GitHub_M

CVE-2026-70606Electron: ProtocolResponse.url reuses the default session cache instead of the registering session

Medium 5.9

In plain English

A medium-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.3%top 82.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron43.0.0GHSA-r4w5-6pfg-jxp5
npmelectron42.5.1GHSA-r4w5-6pfg-jxp5
npmelectron41.9.1GHSA-r4w5-6pfg-jxp5
npmelectron40.10.6GHSA-r4w5-6pfg-jxp5

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-668 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

References