Electron: stay on one of the three supported majors — some advisories have no workaround
Reported by Electron, "Security advisories, electron/electron" — github.com/electron/electron/security/advisories; Electron, "Context isolation bypass via prototype hijack (CVE-2026-70601)" — github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x; Electron, "Electron Releases — Version support policy" — www.electronjs.org/docs/latest/tutorial/electron-timelines · distilled by Leon Mallett (captivated.online) with Claude Code · reviewed 2026-10-24
Electron published 50 security advisories between January and 24 October 2026,
15 of them rated high or critical. It patches only the latest three stable
major versions, and within each only the latest minor release. Some advisories
have no fix an app can apply itself. In July 2026, a context isolation bypass
affected apps that expose Promise-returning functions through contextBridge —
the usual way to wrap ipcRenderer.invoke — in windows that load untrusted
content. Electron’s advisory said there was no app-side workaround: the only fix
was to update. It added that renderers without a sandbox, or with
nodeIntegration enabled, could be escalated to Node.js access.
For an agent, the trap is the version number. An agent adding Electron writes the version it knows, which may already be out of support. That is our inference; Electron does not say it.
- Check the current supported majors before adding or upgrading Electron, at Electron’s release timeline, not from memory.
- Treat an Electron major upgrade as scheduled maintenance. A new major ships every eight weeks and three are supported, so a version leaves support about six months after it is released.
- Keep the sandbox on and
nodeIntegrationoff in every window. They do not stop a bypass like this one, but they limit what it reaches.