
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34771 is a use-after-free (UAF) vulnerability in the Electron framework affecting WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacks. It was published on April 2–3, 2026, by the Electron security team (GitHub user VerteDinde) and assigned GHSA-8337-3p73-46f4. Affected versions include all Electron releases before 38.8.6, 39.x before 39.8.0, 40.x before 40.7.0, and 41.x alpha/beta releases before 41.0.0-beta.8. Applications that do not register an asynchronous session.setPermissionRequestHandler() are not affected. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) per the official advisory (GitHub Advisory, Electron Advisory).
The root cause is a use-after-free condition (CWE-416) in Electron's handling of asynchronous session.setPermissionRequestHandler() callbacks. When an application registers an asynchronous permission handler for fullscreen, pointer-lock, or keyboard-lock requests, Electron stores a callback referencing the requesting frame's memory. If the requesting frame navigates away or the window closes while the handler is still pending, the stored callback is later invoked against already-freed memory, leading to a dereference of a dangling pointer. Exploitation requires user interaction (e.g., a user visiting a malicious page that triggers a permission request) and high attack complexity, as the attacker must time the frame navigation or window close to coincide with the pending asynchronous callback (GitHub Advisory, Electron Advisory).
Successful exploitation can result in application crashes (denial of service) or memory corruption within the Electron process. Memory corruption may be further leveraged to achieve arbitrary code execution in the context of the Electron application, potentially exposing sensitive data processed by the app and compromising integrity. Given that Electron applications often run with elevated local privileges and access to Node.js APIs, a successful exploit could have significant impact on confidentiality, integrity, and availability of the host system (GitHub Advisory, Electron Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report. The EPSS score is approximately 0.02% (6th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (GitHub Advisory, Electron Advisory).
session.setPermissionRequestHandler() and is running a vulnerable version (< 38.8.6, 39.x < 39.8.0, 40.x < 40.7.0, or 41.x < 41.0.0-beta.8).document.documentElement.requestFullscreen() or document.body.requestPointerLock()).window.location redirect or window.close() call immediately after the permission request.Electron has released patched versions addressing this vulnerability: 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8. All application developers using Electron should upgrade to the appropriate patched release for their branch immediately. As a temporary workaround if upgrading is not immediately possible, developers should respond to permission requests synchronously rather than asynchronously, or explicitly deny fullscreen, pointer-lock, and keyboard-lock requests when an asynchronous flow is required. IBM has also issued a security bulletin for MongoDB Enterprise Advanced products that bundle affected Electron versions (Electron Advisory, IBM Bulletin).
The advisory was published by Electron maintainer VerteDinde on April 2, 2026, and quickly propagated across vulnerability tracking platforms. Social media activity was observed on Mastodon and Bluesky shortly after disclosure, with automated CVE tracking accounts noting the advisory. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability database aggregation (GitHub 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."