Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-34774: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS

43
This month
HIGH 8.1REMOTEUPGRADE

CVE-2026-34774 is a high-severity flaw (CVSS 8.1) 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 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed while a child window remains open, subsequent paint frames on the child dereference freed memory, which may lead to a crash or memory co

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.1 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 62%)
CISA exploited listNo
WeaknessCWE-416, CWE-825
Published2026-04-04
Last modified2026-07-24
Publisher (CNA): GitHub, Inc. · Vendor: electronjs

Share: LinkedIn · X · Reddit

Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

electronjs electron UPGRADE
Affected: < 39.8.1 · >= 40.0.0 and < 40.7.0 · 41.0.0 alpha1 · 41.0.0 alpha2 · 41.0.0 alpha3 · 41.0.0 alpha4 · 41.0.0 alpha5 · 41.0.0 alpha6
Fixed in: 39.8.1, 40.7.0
Safe to downgrade to: a release before 40.0.0
1. Check installed version
npm ls electron
2. UPGRADE to 39.8.1
npm install electron@">=39.8.1"
3. If no update is available yet, DOWNGRADE to a release before 40.0.0
npm view electron versions npm install electron@"<40.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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-34774?

electron: upgrade to 39.8.1, 40.7.0. Exact commands for each OS are on this page.

Is CVE-2026-34774 being exploited?

CVE-2026-34774 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-34774 affect?

CVE-2026-34774 affects electron. Severity is high (CVSS 8.1). Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulnera

How urgent is CVE-2026-34774?

Priority 43/100. High severity; Remotely exploitable, no login, no user action

Software pages

Windows vulnerabilities · Electron vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.