BreachSpiderVerified, not vibes

CVE-2026-34770 in Electronjs Electron

High 8.8

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.0, and 41.0.0-beta.8, apps that use the powerMonitor module may be vulnerable to a use-after-free. After the native PowerMonitor object is garbage-collected, the associated O...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.3%
EPSS percentile20th
FixUnknown

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

VendorProductAffected versions
Electronjs Electron 41.0.0 < 38.8.6 ≥ 39.0.0, < 39.8.1 ≥ 40.0.0, < 40.8.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-exploitedNot in the CISA KEV catalog
Public exploitNot 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.1, 40.8.0, and 41.0.0-beta.8, apps that use the powerMonitor module may be vulnerable to a use-after-free. After the native PowerMonitor object is garbage-collected, the associated OS-level resources (a message window on Windows, a shutdown handler on macOS) retain dangling references. A subsequent session-change event (Windows) or system shutdown (macOS) dereferences freed memory, which may lead to a crash or memory corruption. All apps that access powerMonitor events (suspend, resume, lock-screen, etc.) are potentially affected. The issue is not directly renderer-controllable. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34770
BreachSpider IDBS-2026-GLOBAL-151339-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2026-04-04
Last modified2026-07-24
Weakness (CWE)
SourceNVD

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 applications using the powerMonitor module prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8 are vulnerable to a use-after-free issue, which could allow an attacker to execute arbitrary code.

An attacker could exploit this vulnerability by crafting a malicious Electron application that triggers the use-after-free condition, potentially leading to arbitrary code execution with the privileges of the application.

Questions

What is CVE-2026-34770?

Electron applications using the powerMonitor module prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8 are vulnerable to a use-after-free issue, which could allow an attacker to execute arbitrary code.

What is the CVSS score for CVE-2026-34770?

CVE-2026-34770 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-34770 actively exploited?

No confirmed active exploitation of CVE-2026-34770 as of 2026-07-25.

How do I remediate CVE-2026-34770?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34770?

CVE-2026-34770 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.