CVE-2026-70601
HIGH 7.5CVSS 3.1Electron: Context isolation bypass via Function.prototype.bind hijack
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.
- Published
- 5 Aug 2026
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-693
- Also known as
- GHSA-h7rp-cf8h-j98x
- Sources
- NVDJSONOSV GHSA-h7rp-cf8h-j98xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
< 39.8.9 | 39.8.9 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
>= 40.0.0, < 40.9.2 | 40.9.2 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* |
>= 41.0.0, < 41.2.2 | 41.2.2 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:* |
= 42.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:* |
= 42.0.0 | |
| OSV | npm | electron | < 39.8.9 | 39.8.9 |
| OSV | npm | electron | >= 40.0.0-alpha.1, < 40.9.2 | 40.9.2 |
| OSV | npm | electron | >= 41.0.0-alpha.1, < 41.2.2 | 41.2.2 |
| OSV | npm | electron | >= 42.0.0-alpha.1, < 42.0.0-beta.5 | 42.0.0-beta.5 |
References
- https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x · Vendor Advisory, WEB
- https://github.com/electron/electron · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 5 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Aug 2026)