Quick answers
- Is CVE-2026-34772 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-34772 being exploited in the wild.
- How severe is CVE-2026-34772?
- Medium severity, with a CVSS score of 5.8, published 4 April 2026.
- Which products and versions are affected?
- electron (npm) SEMVER:introduced=0,fixed=38.8.6.
- Is there a fix for CVE-2026-34772?
- Yes. electron (npm): upgrade to 38.8.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-34772 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-34772?
- Check whether you run electron (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- electron (npm): upgrade to 38.8.6 or later
npm install electron@38.8.6
Technical details
A use-after-free vulnerability (CWE-416) exists in Electron's session management and download handling. The root cause is a race condition where a session is programmatically destroyed while a native save-file dialog remains active; dismissing this dialog subsequently triggers a dereference of the already-freed session memory. Exploitation requires local access and specific user interaction (dismissing the dialog) under high-complexity conditions. Successful exploitation can lead to memory corruption, application crashes, or potential information disclosure. The issue is patched in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.
Affected products
- ElectronJS Electron < 38.8.6, >= 39.0.0-alpha.1 < 39.8.0, >= 40.0.0-alpha.1 < 40.7.0, >= 41.0.0-alpha.1 < 41.0.0-beta.8
Identifiers
- CVE-2026-34772
- GHSA-9w97-2464-8783
Timeline
- 2026-04-02: advisory: GitHub Advisory GHSA-9w97-2464-8783 published
- 2026-04-04: disclosed: NVD publication date
- 2026-04-02: patched: Fixes released in multiple branches