
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34776 is an out-of-bounds heap read vulnerability in the Electron framework's single-instance IPC mechanism on macOS and Linux. Apps that call app.requestSingleInstanceLock() are vulnerable to heap memory leakage when parsing a crafted second-instance message, with leaked memory potentially delivered to the app's second-instance event handler. The vulnerability was published on April 2–3, 2026, and affects Electron versions prior to 38.8.6, 39.x before 39.8.1, 40.x before 40.8.1, and 41.x pre-release builds before 41.0.0. It carries a CVSS v3.1 base score of 5.3 (Moderate) (GitHub Advisory, Electron Advisory).
The root cause is an out-of-bounds read (CWE-125) in the IPC message parsing logic used by Electron's single-instance lock feature on macOS and Linux. When a second instance of an Electron app sends a crafted message to the already-running first instance, the message parser reads beyond the intended heap buffer boundary, leaking adjacent heap memory contents. Exploitation requires the attacker to be running as the same OS user as the target Electron app, and the target app must have called app.requestSingleInstanceLock(). Windows is not affected due to differences in the IPC implementation on that platform (GitHub Advisory, Electron Advisory).
Successful exploitation results in a confidentiality impact: heap memory from the Electron app process can be leaked and delivered to the attacker-controlled second-instance event handler, potentially exposing sensitive in-memory data such as credentials, tokens, or application state. Integrity and availability are not directly impacted by this vulnerability. The scope is limited to the local user context — an attacker must already have code execution as the same user on the same macOS or Linux system (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2026-34776. The EPSS score is approximately 0.014% (2nd percentile), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement that the attacker must already be operating as the same local user as the target Electron app, significantly limiting the attack surface (GitHub Advisory).
app.requestSingleInstanceLock().second-instance event handler, which may contain heap memory contents from the first instance process, potentially including sensitive application data (GitHub Advisory, Electron Advisory).second-instance events with unusual or malformed argument data passed to the event handler.Electron has released patched versions that address this vulnerability: 38.8.6, 39.8.1, 40.8.1, and 41.0.0. There are no application-side workarounds available — developers must update their Electron dependency to a patched version. Applications that do not use app.requestSingleInstanceLock() are not affected and require no action (GitHub Advisory, Electron Advisory). IBM has also issued a security bulletin noting that MongoDB Enterprise Advanced with IBM is affected by this and related CVEs (IBM Bulletin).
The advisory was published by GitHub user VerteDinde on behalf of the Electron security team and reviewed promptly by the GitHub Advisory Database. IBM issued a security bulletin in May 2026 noting that MongoDB Enterprise Advanced with IBM is among the affected downstream products. Community discussion has been limited, consistent with the moderate severity and constrained exploitation conditions of the vulnerability (IBM Bulletin, Electron Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."