{"id":"CVE-2026-70601","state":"PUBLISHED","title":"Electron: Context isolation bypass via Function.prototype.bind hijack","description":"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.","publishedAt":"2026-08-05T15:45:31.315Z","updatedAt":"2026-08-05T17:30:28.446Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["electron electron"],"affected":[{"vendor":"electron","product":"electron","versions":[{"version":"< 39.8.9","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.9.2","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.2.2","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.0.0-beta.5","status":"affected"}]}],"references":["https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70601.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70601","state":"PUBLISHED","datePublished":"2026-08-05T15:45:31.315Z","dateUpdated":"2026-08-05T17:30:28.446Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-04T19:50:27.328Z"},"containers":{"cna":{"title":"Electron: Context isolation bypass via Function.prototype.bind hijack","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"electron","product":"electron","versions":[{"version":"< 39.8.9","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.9.2","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.2.2","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.0.0-beta.5","status":"affected"}]}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x","name":"https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-05T15:45:31.315Z"},"source":{"advisory":"GHSA-h7rp-cf8h-j98x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T17:29:54.563592Z","id":"CVE-2026-70601","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T17:30:28.446Z"}}]}}}