Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-70606

CVE-2026-70606: Electron: ProtocolResponse.url reuses the default session cache instead of the registering session

August 5, 2026

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. Apps that set an explicit session, or that do not isolate content across sessions, are not affected.

References

  • github.com/advisories/GHSA-r4w5-6pfg-jxp5
  • github.com/electron/electron/security/advisories/GHSA-r4w5-6pfg-jxp5
  • nvd.nist.gov/vuln/detail/CVE-2026-70606

Code Behaviors & Features

Detect and mitigate CVE-2026-70606 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 40.0.0-alpha.1 before 40.10.6, all versions starting from 41.0.0-alpha.1 before 41.9.1, all versions starting from 42.0.0-alpha.1 before 42.5.1, all versions starting from 43.0.0-alpha.1 before 43.0.0

Fixed versions

  • 40.10.6
  • 41.9.1
  • 42.5.1
  • 43.0.0

Solution

Upgrade to versions 40.10.6, 41.9.1, 42.5.1, 43.0.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

npm/electron/CVE-2026-70606.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:46 +0000.