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.
Published: 2026-08-05
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 05 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 05 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Wed, 05 Aug 2026 16:15:00 +0000

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'}


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T17:23:30.639Z

Reserved: 2026-08-04T19:50:27.328Z

Link: CVE-2026-70606

cve-icon Vulnrichment

Updated: 2026-08-05T17:23:21.523Z

cve-icon NVD

Status : Received

Published: 2026-08-05T16:17:04.953

Modified: 2026-08-05T18:17:15.043

Link: CVE-2026-70606

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T18:15:05Z

Weaknesses
  • CWE-668

    Exposure of Resource to Wrong Sphere