CVE-2026-70606

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

Published Aug 5, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Electron incorrectly reused the default session cache when a custom protocol handler returned a ProtocolResponse that contained a URL but omitted the session field. As a result, cached responses could be shared across otherwise isolated session partitions, enabling sensitive data to leak between sessions that are supposed to remain separate. This flaw is a type of privileged information disclosure (CWE-668).

Affected Systems

The flaw affects Electron framework releases before 40.10.6, 41.9.1, 42.5.1, and 43.0.0. Applications that employ ProtocolResponse.url without specifying a session and rely on separate session partitions for isolation are vulnerable. The fix was introduced in the aforementioned Electron releases.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, and the vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog. No EPSS data is available, so the likelihood of exploitation is unclear. Based on the description, the likely attack vector involves a malicious or compromised Electron application that can register a custom protocol handler and control the content of a ProtocolResponse. An attacker could inject cached data that crosses session boundaries, potentially exposing sensitive information to other sessions that should remain isolated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 40.10.6 or later (including 41.9.1, 42.5.1, 43.0.0) to apply the fix.
  • Modify custom protocol handlers to set ProtocolResponse.session explicitly; avoid relying on defaultSession.
  • Review and audit application code to confirm session isolation is maintained and no other cross‑session cache reuse occurs.

Generated by OpenCVE AI on August 5, 2026 at 18:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r4w5-6pfg-jxp5 Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
History
Type Values Removed Values Added
First Time appeared Electronjs
Electronjs electron
CPEs cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:43.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:43.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:43.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:43.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:43.0.0:alpha5:*:*:*:node.js:*:*
Vendors & Products Electronjs
Electronjs electron
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
Type Values Removed Values Added
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.
Title Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
Weaknesses CWE-668
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-668

    Exposure of Resource to Wrong Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2026, 5:23 PM
Reserved
Aug 4, 2026, 7:50 PM
Status
Analyzed
Published
Aug 5, 2026, 4:17 PM
Modified
Oct 8, 2026, 1:53 PM