CVE-2026-70606

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

State
Published
Severity
5.9 Medium
Published
Aug 5, 2026
Updated
Aug 5, 2026
Reserved
Aug 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-668 Exposure of Resource to Wrong Sphere

Affected Products

ProductVersions
electronelectron
  • >= 40.0.0-alpha.1, < 40.10.6Affected
  • >= 41.0.0-alpha.1, < 41.9.1Affected
  • >= 42.0.0-alpha.1, < 42.5.1Affected
  • >= 43.0.0-alpha.1, < 43.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.