Medium · 5.4 Node.js & npm GHSA-997q-gvvc-jwmx CVE-2026-114121 GHSA-h3v5-h239-pg29 CVE-2026-114124
Electron Patches Seven Vulnerabilities Affecting Origin and Permission Handling
Electron has fixed seven vulnerabilities (CVE-2026-113796, CVE-2026-113797, CVE-2026-113798, CVE-2026-113800, CVE-2026-114121, CVE-2026-114122, CVE-2026-114124) involving incorrect origin attribution for permission checks, a CSRF-enabling cookie handling flaw, an extension permission bypass, and two GPU-process memory disclosure issues. All issues are fixed in current releases; no exploitation has been reported.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- NVD (NIST) database 4w ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- NVD (NIST) database 4w ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- NVD (NIST) database 4w ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- OSV.dev database 1mo ago · view ↗
- NVD (NIST) database 4w ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
- GitHub Advisory Database database 1mo ago · view ↗
AI summary
Electron, the framework used to build cross-platform desktop applications with JavaScript, HTML and CSS, has published fixes for seven distinct vulnerabilities disclosed together on 2026-10-21 and 2026-10-22. The issues span several categories: incorrect attribution of the requesting frame or page during permission checks (affecting pointer lock, HID/USB device access, and external protocol launches), a cookie-handling flaw that weakens CSRF protections for windows opened from links, an extension API that leaked tab URLs and titles without the required permission, and two related out-of-bounds read issues in handling of GPU-process frame data. None of the issues are reported as actively exploited, and no public exploit code has been noted in the fact package.
What happened
Electron disclosed and fixed seven vulnerabilities in the same release cycle. CVE-2026-113796 involves pages opened into a new window from links being incorrectly treated as application-initiated navigations rather than preserving the originating page as the initiator, which can cause SameSite=Strict cookies to be sent and Sec-Fetch-Site to misidentify the initiating page. CVE-2026-113797 involves the chrome.tabs.query() extension API returning tab URLs and titles to extensions lacking the required tabs permission or host permissions. CVE-2026-113798, CVE-2026-113800, and CVE-2026-114121 all involve permission request handlers (session.setPermissionRequestHandler or setPermissionCheckHandler) receiving the top-level frame's origin or requestingUrl instead of the actual requesting (often cross-origin iframe) frame's details, for pointer lock, HID/USB, and openExternal requests respectively. CVE-2026-114122 and CVE-2026-114124 both involve the main process insufficiently validating frame geometry data supplied by the GPU process, for webContents.beginFrameSubscription and for macOS offscreen rendering paint events respectively, which could lead to out-of-bounds memory reads.
Technical cause
Several of these issues (CVE-2026-113798, CVE-2026-113800, CVE-2026-114121) share a common root cause: Electron's internal plumbing attributed permission requests originating from a cross-origin iframe, or from a navigation chain, to the top-level frame instead of the actual initiating frame. This is classified as an Origin Validation Error (CWE-346). CVE-2026-113796 is a Cross-Site Request Forgery issue (CWE-352) rooted in incorrect classification of navigation initiators affecting cookie SameSite enforcement. CVE-2026-113797 is a Missing Authorization issue (CWE-862) in the extensions tabs API. CVE-2026-114122 and CVE-2026-114124 are Out-of-bounds Read issues (CWE-125) caused by insufficient validation of frame geometry data received from the GPU process by the main process.
Why it matters
Applications built on Electron that load or embed untrusted content are the primary concern. The origin-attribution flaws (CVE-2026-113798, CVE-2026-113800, CVE-2026-114121) could let an untrusted cross-origin iframe or a content-initiated navigation obtain sensitive permissions (pointer lock, HID/USB device access, launching external OS-registered applications) under the identity of the trusted top-level page, if the host application makes permission decisions based on requesting origin. CVE-2026-113796 could allow untrusted content that is permitted to open new windows to make credentialed cross-site requests that bypass SameSite-based CSRF protections. CVE-2026-113797 could let an untrusted extension loaded via session.extensions.loadExtension read the URL and title of every webContents in a session without the normal required permission. CVE-2026-114122 and CVE-2026-114124 require an attacker to already have separately gained code execution in the GPU process, after which they could cause out-of-bounds memory reads during frame capture, leading to information disclosure or a crash.
Who is affected
Developers and operators of Electron-based desktop applications are affected, particularly those that load untrusted or partially trusted web content, permit that content to open new windows, embed untrusted cross-origin iframes with device or pointer lock permissions enabled, load extensions that are not fully trusted, or use offscreen rendering or frame subscription features. Applications that deny the relevant permissions for untrusted content, or that do not load untrusted content at all, are generally not affected by the origin-attribution issues.
Affected versions
All seven vulnerabilities affect Electron releases prior to their respective fixed versions, including 45.0.0-alpha pre-release builds. CVE-2026-113796, CVE-2026-113800, and CVE-2026-114121 affect versions prior to 42.11.3, 43.7.0, and 44.3.0, with 45.0.0-alpha builds affected prior to 45.0.0-alpha.5 (CVE-2026-113800, CVE-2026-114121) or 45.0.0-alpha.6 (CVE-2026-113796). CVE-2026-113797 affects versions prior to 42.11.1, 43.5.1, 44.1.1, and 45.0.0-alpha.4. CVE-2026-113798 affects versions prior to 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13. CVE-2026-114122 and CVE-2026-114124 affect versions prior to 42.11.6, 43.7.3, 44.4.3, and 45.0.0-alpha.9.
Fixes and mitigation
Electron has published fixes for all seven vulnerabilities across the 42.x, 43.x, 44.x, and 45.0.0-alpha release lines. Fixed versions are: CVE-2026-113796 — 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6; CVE-2026-113797 — 42.11.1, 43.5.1, 44.1.1, 45.0.0-alpha.4; CVE-2026-113798 — 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13; CVE-2026-113800 and CVE-2026-114121 — 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5; CVE-2026-114122 and CVE-2026-114124 — 42.11.6, 43.7.3, 44.4.3, 45.0.0-alpha.9. As partial mitigation where upgrading is not immediately possible, applications can deny the relevant permissions (pointer lock, hid, usb, openExternal) for untrusted or cross-origin content, and avoid loading extensions or embedding content that is not fully trusted.
Recommended action
Update Electron to the fixed version appropriate to your release line (42.x, 43.x, 44.x, or 45.0.0-alpha) as listed above. Review application logic that grants permissions (pointer lock, HID, USB, openExternal) based on requesting origin, and confirm this logic is not relied upon for security-sensitive decisions on affected versions. Review any use of untrusted extensions loaded via session.extensions.loadExtension, and any application that opens new windows from untrusted content and relies on SameSite cookies for CSRF protection. Applications using webContents.beginFrameSubscription or macOS offscreen rendering should also apply the fix, though exploitation of those two issues requires an attacker to already have code execution in the GPU process.
PatchBriefing score
5.4 / 10 · Medium
Official CVSS: 5.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS 0.0024 (9 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- electron >= 45.0.0-alpha.1, < 45.0.0-alpha.5
- vulnerable
- electron ≥ 45.0.0-alpha.1 < 45.0.0-alpha.5
- vulnerable
- ≥ 42.11.3
- patched
- ≥ 43.7.0
- patched
- ≥ 44.3.0
- patched
- ≥ 45.0.0-alpha.5
- patched
- electron >= 45.0.0-alpha.1, < 45.0.0-alpha.9
- vulnerable
- electron ≥ 45.0.0-alpha.1 < 45.0.0-alpha.9
- vulnerable
- ≥ 42.11.6
- patched
- ≥ 43.7.3
- patched
- ≥ 44.4.3
- patched
- ≥ 45.0.0-alpha.9
- patched
- electron < 42.11.3
- vulnerable
- electron ≥ 0 < 42.11.3
- vulnerable
- ≥ 45.0.0-alpha.6
- patched
- ≥ 44.3.0
- patched
- ≥ 43.7.0
- patched
- ≥ 42.11.3
- patched
- electron < 42.11.1
- vulnerable
- electron ≥ 0 < 42.11.1
- vulnerable
- ≥ 45.0.0-alpha.4
- patched
- ≥ 44.1.1
- patched
- ≥ 43.5.1
- patched
- ≥ 42.11.1
- patched
- electron < 42.11.9
- vulnerable
- electron ≥ 0 < 42.11.9
- vulnerable
- ≥ 45.0.0-alpha.13
- patched
- ≥ 44.5.0
- patched
- ≥ 43.7.6
- patched
- ≥ 42.11.9
- patched
- electron >= 45.0.0-alpha.1, < 45.0.0-alpha.9
- vulnerable
- electron ≥ 45.0.0-alpha.1 < 45.0.0-alpha.9
- vulnerable
- ≥ 42.11.6
- patched
- ≥ 43.7.3
- patched
- ≥ 44.4.3
- patched
- ≥ 45.0.0-alpha.9
- patched
- electron < 42.11.3
- vulnerable
- electron ≥ 0 < 42.11.3
- vulnerable
- ≥ 45.0.0-alpha.5
- patched
- ≥ 44.3.0
- patched
- ≥ 43.7.0
- patched
- ≥ 42.11.3
- patched
Reported fixes
Electron has published fixes for all seven vulnerabilities across the 42.x, 43.x, 44.x, and 45.0.0-alpha release lines. Fixed versions are: CVE-2026-113796 — 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.6; CVE-2026-113797 — 42.11.1, 43.5.1, 44.1.1, 45.0.0-alpha.4; CVE-2026-113798 — 42.11.9, 43.7.6, 44.5.0, 45.0.0-alpha.13; CVE-2026-113800 and CVE-2026-114121 — 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5; CVE-2026-114122 and CVE-2026-114124 — 42.11.6, 43.7.3, 44.4.3, 45.0.0-alpha.9. As partial mitigation where upgrading is not immediately possible, applications can deny the relevant permissions (pointer lock, hid, usb, openExternal) for untrusted or cross-origin content, and avoid loading extensions or embedding content that is not fully trusted.
How this was built
21 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
GitHub Advisory Database database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
NVD (NIST) database
-
GitHub Advisory Database database
Revision history
- Published
- Generated
- Merged
- Published
- Generated
- Published
- Generated