Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | 40.0.0-alpha.1 to before 40.10.6; 41.0.0-alpha.1 to before 41.9.1; 42.0.0-alpha.1 to before 42.5.1; 43.0.0-alpha.1 to before 43.0.0 | 40.10.6, 41.9.1, 42.5.1, 43.0.0 | Patch available | CNA |
| — | electron (npm) | 43.0.0-alpha.1 to before 43.0.0 | 43.0.0 | Patch available | GHSA-r4w5-6pfg-jxp5 |
| — | electron (npm) | 42.0.0-alpha.1 to before 42.5.1 | 42.5.1 | Patch available | GHSA-r4w5-6pfg-jxp5 |
| — | electron (npm) | 41.0.0-alpha.1 to before 41.9.1 | 41.9.1 | Patch available | GHSA-r4w5-6pfg-jxp5 |
| — | electron (npm) | 40.0.0-alpha.1 to before 40.10.6 | 40.10.6 | Patch available | GHSA-r4w5-6pfg-jxp5 |
- electron Vendorelectron Affected 40.0.0-alpha.1 to before 40.10.6; 41.0.0-alpha.1 to before 41.9.1; 42.0.0-alpha.1 to before 42.5.1; 43.0.0-alpha.1 to before 43.0.0 Fixed in 40.10.6, 41.9.1, 42.5.1, 43.0.0 Patch available CNA
- electron (npm) Vendor— Affected 43.0.0-alpha.1 to before 43.0.0 Fixed in 43.0.0 Patch available GHSA-r4w5-6pfg-jxp5
- electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.5.1 Fixed in 42.5.1 Patch available GHSA-r4w5-6pfg-jxp5
- electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.9.1 Fixed in 41.9.1 Patch available GHSA-r4w5-6pfg-jxp5
- electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.10.6 Fixed in 40.10.6 Patch available GHSA-r4w5-6pfg-jxp5
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* | before 40.10.6; 41.0.0 – 41.9.1; 42.0.0 – 42.5.1 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:43.0.0:alpha1:*:*:*:node.js:*:* | 43.0.0 alpha1 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:43.0.0:alpha2:*:*:*:node.js:*:* | 43.0.0 alpha2 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:43.0.0:alpha3:*:*:*:node.js:*:* | 43.0.0 alpha3 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:43.0.0:alpha4:*:*:*:node.js:*:* | 43.0.0 alpha4 | Vulnerable | Electronjs |
| cpe:2.3:a:electronjs:electron:43.0.0:alpha5:*:*:*:node.js:*:* | 43.0.0 alpha5 | Vulnerable | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 40.10.6; 41.0.0 – 41.9.1; 42.0.0 – 42.5.1 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:43.0.0:alpha1:*:*:*:node.js:*:* Versions 43.0.0 alpha1 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:43.0.0:alpha2:*:*:*:node.js:*:* Versions 43.0.0 alpha2 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:43.0.0:alpha3:*:*:*:node.js:*:* Versions 43.0.0 alpha3 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:43.0.0:alpha4:*:*:*:node.js:*:* Versions 43.0.0 alpha4 Vulnerable ·Electronjs
- cpe:2.3:a:electronjs:electron:43.0.0:alpha5:*:*:*:node.js:*:* Versions 43.0.0 alpha5 Vulnerable ·Electronjs
Remediation
- Fix · CNA electron (electron) Fixed in 40.10.6, 41.9.1, 42.5.1, 43.0.0
- Fix · GHSA-r4w5-6pfg-jxp5 electron (npm) Fixed in 43.0.0 Advisory →
- Fix · GHSA-r4w5-6pfg-jxp5 electron (npm) Fixed in 42.5.1 Advisory →
- Fix · GHSA-r4w5-6pfg-jxp5 electron (npm) Fixed in 41.9.1 Advisory →
- Fix · GHSA-r4w5-6pfg-jxp5 electron (npm) Fixed in 40.10.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-70606
- 2026-10-03 Alias added: GHSA-r4w5-6pfg-jxp5
References
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-70606 · CVE Program
- CVE-2026-70606 · NVD
- FIRST EPSS
- GHSA-r4w5-6pfg-jxp5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences