CVE-2026-34772 in Electronjs Electron
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-fil...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Electronjs | Electron | 41.0.0 < 38.8.6 ≥ 39.0.0, < 39.8.0 ≥ 40.0.0, < 40.7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-file dialog is open for a download, dismissing the dialog dereferences freed memory, which may lead to a crash or memory corruption. Apps that do not destroy sessions at runtime, or that do not permit downloads, are not affected. This issue has been patched in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34772 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151341-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-04-04 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
Electron versions prior to 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8 are vulnerable to a use-after-free issue when a session is destroyed while a native save-file dialog is open for a download, leading to potential code execution.
An attacker could exploit this vulnerability by crafting a scenario where a session is destroyed while a download dialog is open, causing the application to dereference freed memory when the dialog is dismissed. This could lead to arbitrary code execution or other unspecified impacts.
Questions
What is CVE-2026-34772?
Electron versions prior to 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8 are vulnerable to a use-after-free issue when a session is destroyed while a native save-file dialog is open for a download, leading to potential code execution.
What is the CVSS score for CVE-2026-34772?
CVE-2026-34772 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2026-34772 actively exploited?
No confirmed active exploitation of CVE-2026-34772 as of 2026-07-25.
How do I remediate CVE-2026-34772?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-34772?
CVE-2026-34772 affects Electronjs Electron.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.