---
id: CVE-2026-70606
title: >-
  Electron is a framework for writing cross-platform desktop applications using
  JavaScript, HTML and CSS
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,
  E…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N'
cwe:
  - CWE-668
vendor: electron
product: electron
affected:
  - 'electron >= 43.0.0-alpha.1, < 43.0.0'
  - 'electron >= 42.0.0-alpha.1, < 42.5.1'
  - 'electron >= 41.0.0-alpha.1, < 41.9.1'
  - 'electron >= 40.0.0-alpha.1, < 40.10.6'
patched:
  - electron 43.0.0
  - electron 42.5.1
  - electron 41.9.1
  - electron 40.10.6
published: '2026-08-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:44:08.253'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70606'
references:
  - url: >-
      https://github.com/electron/electron/security/advisories/GHSA-r4w5-6pfg-jxp5
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-r4w5-6pfg-jxp5'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00255
epssPercentile: 0.1515
aliases:
  - GHSA-r4w5-6pfg-jxp5
ecosystem: npm
ingestedAt: '2026-08-05T16:49:29.222Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-70606)

Affected packages:

- `electron >= 43.0.0-alpha.1, < 43.0.0`
- `electron >= 42.0.0-alpha.1, < 42.5.1`
- `electron >= 41.0.0-alpha.1, < 41.9.1`
- `electron >= 40.0.0-alpha.1, < 40.10.6`

Patched in:

- `electron 43.0.0`
- `electron 42.5.1`
- `electron 41.9.1`
- `electron 40.10.6`

Source: https://github.com/advisories/GHSA-r4w5-6pfg-jxp5
