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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 43.0.0 | GHSA-r4w5-6pfg-jxp5 |
| npm | electron | 42.5.1 | GHSA-r4w5-6pfg-jxp5 |
| npm | electron | 41.9.1 | GHSA-r4w5-6pfg-jxp5 |
| npm | electron | 40.10.6 | GHSA-r4w5-6pfg-jxp5 |
Affected products (as reported)
Weakness: CWE-668 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-r4w5-6pfg-jxp5 x_refsource_CONFIRM