Read the docs
TI-2026-49318 Aliases CVE-2026-70601GHSA-h7rp-cf8h-j98x

Electron: Context isolation bypass via Function.prototype.bind hijack

Priority LOW 33CWE-693Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-693.

Summary

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5, apps that expose Promise-returning functions to web content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could obtain access to the isolated preload world and, through it, every capability the preload script has. In renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access. Apps are affected if they expose Promise-returning functions via contextBridge, the standard pattern for wrapping ipcRenderer.invoke, in windows that load untrusted content. This issue is fixed in versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00285 21st percentileScored 2026-11-07
Fix Fixed electron (electron): 39.8.9, 40.9.2, 41.2.2 +1electron (npm): 39.8.9, 40.9.2, 41.2.2 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electronelectronbefore 39.8.9; 40.0.0-alpha.1 to before 40.9.2; 41.0.0-alpha.1 to before 41.2.2; 42.0.0-alpha.1 to before 42.0.0-beta.539.8.9, 40.9.2, 41.2.2, 42.0.0-beta.5Patch availableCNA
—electron (npm)before 39.8.939.8.9Patch availableGHSA-h7rp-cf8h-j98x
—electron (npm)40.0.0-alpha.1 to before 40.9.240.9.2Patch availableGHSA-h7rp-cf8h-j98x
—electron (npm)41.0.0-alpha.1 to before 41.2.241.2.2Patch availableGHSA-h7rp-cf8h-j98x
—electron (npm)42.0.0-alpha.1 to before 42.0.0-beta.542.0.0-beta.5Patch availableGHSA-h7rp-cf8h-j98x
  • electron Vendorelectron Affected before 39.8.9; 40.0.0-alpha.1 to before 40.9.2; 41.0.0-alpha.1 to before 41.2.2; 42.0.0-alpha.1 to before 42.0.0-beta.5 Fixed in 39.8.9, 40.9.2, 41.2.2, 42.0.0-beta.5 Patch available CNA
  • electron (npm) Vendor— Affected before 39.8.9 Fixed in 39.8.9 Patch available GHSA-h7rp-cf8h-j98x
  • electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.9.2 Fixed in 40.9.2 Patch available GHSA-h7rp-cf8h-j98x
  • electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.2.2 Fixed in 41.2.2 Patch available GHSA-h7rp-cf8h-j98x
  • electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.0.0-beta.5 Fixed in 42.0.0-beta.5 Patch available GHSA-h7rp-cf8h-j98x

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*before 39.8.9; 40.0.0 to before 40.9.2; 41.0.0 to before 41.2.2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*42.0.0 alpha1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*42.0.0 alpha2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*42.0.0 alpha3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*42.0.0 alpha4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*42.0.0 alpha5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*42.0.0 alpha6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*42.0.0 beta1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*42.0.0 beta2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:*42.0.0 beta3VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 39.8.9; 40.0.0 to before 40.9.2; 41.0.0 to before 41.2.2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* Versions 42.0.0 alpha1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* Versions 42.0.0 alpha2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* Versions 42.0.0 alpha3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* Versions 42.0.0 alpha4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* Versions 42.0.0 alpha5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* Versions 42.0.0 alpha6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* Versions 42.0.0 beta1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* Versions 42.0.0 beta2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:* Versions 42.0.0 beta3 Vulnerable ·Electronjs
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:*42.0.0 beta4VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:* Versions 42.0.0 beta4 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 39.8.9, 40.9.2, 41.2.2, 42.0.0-beta.5
  • Fix · GHSA-h7rp-cf8h-j98x electron (npm) Fixed in 39.8.9 Advisory →
  • Fix · GHSA-h7rp-cf8h-j98x electron (npm) Fixed in 40.9.2 Advisory →
  • Fix · GHSA-h7rp-cf8h-j98x electron (npm) Fixed in 41.2.2 Advisory →
  • Fix · GHSA-h7rp-cf8h-j98x electron (npm) Fixed in 42.0.0-beta.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-70601
  2. 2026-10-03 Alias added: GHSA-h7rp-cf8h-j98x

References

  • TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
  • TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
  • TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
  • TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
  • TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
  • TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
See all 74 →

Sources