CVE-2026-34778: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS
CVE-2026-34778 is a medium-severity flaw (CVSS 5.9) affecting electron. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, a service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-34778?
electron: upgrade to 38.8.6, 39.8.1, 40.8.1. Exact commands for each OS are on this page.
Is CVE-2026-34778 being exploited?
CVE-2026-34778 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-34778 affect?
CVE-2026-34778 affects electron. Severity is medium (CVSS 5.9). Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, a service worker running in a session could spoof reply messages on the internal I
How urgent is CVE-2026-34778?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-102675 HIGH 7.4 UPGRADE Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS
- CVE-2026-102673 HIGH 8.2 UPGRADE Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS
- CVE-2026-102674 HIGH 8.2 UPGRADE Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS
- CVE-2026-102676 HIGH 8.3 UPGRADE Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS
- CVE-2026-102677 HIGH 7.8 UPGRADE Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS