{"id":"CVE-2026-70601","published":"2026-08-05T15:45:31Z","modified":"2026-08-05T17:30:28Z","title":"Electron: Context isolation bypass via Function.prototype.bind hijack","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00285,"percentile":0.21549,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.31},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 39.8.9",">= 40.0.0-alpha.1, < 40.9.2",">= 41.0.0-alpha.1, < 41.2.2",">= 42.0.0-alpha.1, < 42.0.0-beta.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-05T17:29:54.563592Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<39.8.9",">=40.0.0-alpha.1, <40.9.2",">=41.0.0-alpha.1, <41.2.2",">=42.0.0-alpha.1, <42.0.0-beta.5"],"patched":["39.8.9","40.9.2","41.2.2","42.0.0-beta.5"],"from":["GHSA-h7rp-cf8h-j98x"],"provenance":"source"}],"summary":{"text":"Electron's contextBridge, which exposes functions to web content in renderers, can be bypassed in applications that expose Promise-returning functions this way, letting untrusted web content break out of context isolation into the preload script's isolated world. An attacker needs the app to load untrusted content in a window that exposes such functions; in unsandboxed renderers or those with nodeIntegration enabled, this may further escalate to Node.js access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:20Z"},"euvd":{"id":"EUVD-2026-53433","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-70597","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false,"link":{"from":"CVE-2026-70597","to":"CVE-2026-70601","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"40.9.1","toFixed":"40.9.2","daysApart":0}]}},{"cve":"CVE-2026-70611","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-70612","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-70610","published":"2026-08-05","fixed":"42.0.0-beta.4","kev":false,"link":{"from":"CVE-2026-70610","to":"CVE-2026-70601","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.0.0-beta.4","toFixed":"42.0.0-beta.5","daysApart":0}]}},{"cve":"CVE-2026-70601","published":"2026-08-05","fixed":"42.0.0-beta.5","kev":false},{"cve":"CVE-2026-70604","published":"2026-08-05","fixed":"42.0.0","kev":false,"link":{"from":"CVE-2026-70601","to":"CVE-2026-70604","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.0.0-beta.5","toFixed":"42.0.0","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"40.9.2","toFixed":"40.9.3","daysApart":0}]}},{"cve":"CVE-2026-70608","published":"2026-08-05","fixed":"42.0.1","kev":false},{"cve":"CVE-2026-54257","published":"2026-06-23","fixed":"42.3.3","kev":false}],"package":"npm:electron"}}