Repository navigation
chore(deps): update dependency electron to v42 [security] - #736
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
from
August 11, 2026 22:30
c7afdf9 to
dc84d37
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
from
September 7, 2026 21:42
dc84d37 to
15d70d8
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
from
September 24, 2026 20:19
15d70d8 to
8edb2e5
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
2 times, most recently
from
October 2, 2026 13:57
e2ee2d3 to
c65ef52
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
from
October 13, 2026 19:12
c65ef52 to
2a3efac
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
3 times, most recently
from
October 23, 2026 19:42
2d26582 to
c1973a1
Compare
renovate
Bot
force-pushed
the
renovate/npm-electron-vulnerability
branch
from
October 24, 2026 18:09
c1973a1 to
f7553f1
Compare
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^41.5.1→^42.0.0Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
CVE-2026-70608 / GHSA-9f4c-93c8-jc8g
More information
Details
Impact
A sandboxed iframe without the
allow-popupskeyword could still open a new window (or triggersetWindowOpenHandler) with no user interaction, because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction.Apps that embed untrusted content in sandboxed iframes and rely on the absence of
allow-popupsto prevent window creation are affected. Apps that deny window creation insetWindowOpenHandler, or that do not embed untrusted content in sandboxed iframes, are not affected.Workarounds
Return
{ action: 'deny' }fromsetWindowOpenHandlerfor any content you do not trust, rather than relying on the iframe sandbox alone.Fixed Versions
42.0.141.10.339.8.10For more information
If you have any questions or comments about this advisory, email Electron at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Local race condition in Squirrel.Mac update installation on macOS
CVE-2026-102672 / GHSA-vv43-5jgx-7qv8
More information
Details
Impact
On macOS, Electron bundles the Squirrel.Mac auto-update framework, whose privileged
ShipIthelper performs the final step of an update as root. A local attacker could cause that helper to overwrite a different application's files, as root, instead of the app that started the update. Exploitation requires local access to the machine.Apps are only affected on macOS if they ship Squirrel.Mac-based auto-updates. Apps on other platforms, or that do not use Squirrel.Mac auto-updates, are not affected.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
42.0.0-beta.241.10.539.8.10For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: can enable Node.js integration in Web Workers despite embedder restrictions
CVE-2026-102676 / GHSA-9qh4-3jw8-366w
More information
Details
Impact
A
<webview>could enable Node.js integration in its Web Workers even when its embedder had Node.js integration disabled, giving guest content more privilege than the embedder allowed.Apps are only affected if they enable the
<webview>tag and the embedder is unsandboxed. Apps that do not use<webview>, or that keep the embedder sandboxed, are not affected.Workarounds
Remove
nodeIntegrationInWorkerfrom the guest preferences in awill-attach-webviewhandler, or do not enable the<webview>tag when loading untrusted content.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
CVE-2026-102674 / GHSA-gr2m-v5gq-v685
More information
Details
Impact
Windows opened from a sandboxed top-level document did not inherit that document's HTML
sandboxrestrictions, so content that was meant to run sandboxed could open a window with the app's full origin. GHSA-hq2x-r82h-9wj4 covers the same issue for sandboxed iframes.Apps are only affected if they render untrusted content in a sandboxed top-level document that allows popups. Apps that deny popups from untrusted content with
setWindowOpenHandlerare not affected.Workarounds
Return
{ action: 'deny' }fromsetWindowOpenHandlerfor windows opened by untrusted content.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
CVE-2026-102673 / GHSA-hq2x-r82h-9wj4
More information
Details
Impact
Popups opened from a sandboxed iframe through a link (for example
target="_blank"or a middle-click) did not inherit the iframe's HTMLsandboxrestrictions. Content that was meant to run sandboxed could open a popup with the embedding app's full origin, gaining access to that origin's cookies, storage, and same-origin scripting.Apps are only affected if they embed untrusted content in iframes sandboxed with
allow-scripts allow-popups. Apps that do not embed untrusted content in sandboxed iframes are not affected.Workarounds
Use
setWindowOpenHandleron the parentWebContentsto deny or constrain popups opened from sandboxed frames, or do not applyallow-popupsto sandboxed iframes that render untrusted content.Fixed Versions
43.0.042.5.241.10.4For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled
CVE-2026-102675 / GHSA-j84w-jfhq-vhvj
More information
Details
Impact
Responses served through
protocol.registerFileProtocolorprotocol.registerHttpProtocolfor a custom scheme registered withsupportFetchAPI: truebut withoutcorsEnabled: truecould be read cross-origin by web content. This completes the fix for CVE-2026-70604.Apps are only affected if they register such a scheme, serve it through one of those handlers, and load untrusted content. Apps that set
corsEnabled: true, or that do not load untrusted content, are not affected.Workarounds
Set
corsEnabled: trueon the scheme, or do not load untrusted content in windows that can reach it.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: HID and USB permission checks can be attributed to the wrong origin
CVE-2026-113800 / GHSA-fw47-9c62-h3vw
More information
Details
Impact
For
hidandusbpermission checks made from an iframe,session.setPermissionCheckHandlerwas given the top-level frame's origin and details instead of the requesting frame's. Apps that allow these permissions based on origin could grant an embedded frame access intended for the top-level page.You're only affected if you use
setPermissionCheckHandlerwith origin-based logic forhidorusband embed cross-origin iframes withallow="hid"orallow="usb". Apps that don't delegate those features to untrusted iframes are not affected.Workarounds
Don't add
allow="hid"/allow="usb"to untrusted iframes, or make the decision in yourselect-hid-device/select-usb-devicehandler usingdetails.frame.Fixed Versions
45.0.0-alpha.544.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: openExternal permission requests can be attributed to the wrong origin
CVE-2026-114121 / GHSA-997q-gvvc-jwmx
More information
Details
Impact
Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the
requestingUrlpassed tosession.setPermissionRequestHandlerwas a trusted origin for a launch untrusted content had requested. An origin-based handler could therefore let untrusted content launch an OS-registered external application.Apps are only affected if they grant
openExternalbased on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler deniesopenExternalfor untrusted content are not affected.Workarounds
Deny the
openExternalpermission for untrusted content, or deny the windows it opens withsetWindowOpenHandler.Fixed Versions
45.0.0-alpha.544.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
CVE-2026-114124 / GHSA-h3v5-h239-pg29
More information
Details
Impact
In offscreen rendering mode on macOS, frame data received from the GPU process was not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing
paintevent images, disclosing memory or crashing the app. GHSA-pfmc-3mgc-p6fp covers the same issue on the other capture paths.Apps are only affected if they use offscreen rendering (
webPreferences.offscreen) on macOS and an attacker has separately gained code execution in the GPU process. Apps that do not use offscreen rendering are not affected.Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-alpha.944.4.343.7.342.11.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Frame subscription trusts GPU-supplied frame geometry
CVE-2026-114122 / GHSA-3qxv-5xgr-q7w9
More information
Details
Impact
Frame data received from the GPU process for
webContents.beginFrameSubscriptionwas not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing the captured frame images, disclosing memory or crashing the app.Apps are only affected if they use
webContents.beginFrameSubscriptionand an attacker has separately gained code execution in the GPU process. Apps that do not subscribe to captured frames are not affected.Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-alpha.944.4.343.7.342.11.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Extension tabs.query returns tab URLs and titles without the tabs permission
CVE-2026-113797 / GHSA-98mx-cjp9-gchm
More information
Details
Impact
chrome.tabs.query()returned each tab'surlandtitleto extensions that held neither thetabspermission nor matching host permissions, so any loaded extension could read the URL and title of every webContents in its session.Apps are only affected if they load extensions (
session.extensions.loadExtension) that they do not fully trust. Apps that load no extensions, or only trusted ones, are not affected.Workarounds
Do not load untrusted or unvalidated extensions. In general you should only load trusted extensions.
Fixed Versions
45.0.0-alpha.444.1.143.5.142.11.1For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Pointer lock permission requests can be attributed to the wrong frame
CVE-2026-113798 / GHSA-x562-297c-g43g
More information
Details
Impact
For
pointerLockpermission requests made from some cross-origin iframes,session.setPermissionRequestHandler()was given the top-level frame'srequestingUrlandisMainFrameinstead of the requesting frame's. Apps that grant pointer lock based on the requesting origin could grant it to embedded content under the top-level page's identity.Apps are only affected if they embed untrusted content in iframes and decide
pointerLockrequests by origin insetPermissionRequestHandler. Apps that do not embed untrusted content, or that denypointerLockfor it, are not affected.Workarounds
Deny the
pointerLockpermission for web contents that embed untrusted frames.Fixed Versions
45.0.0-alpha.1344.5.043.7.642.11.9For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: SameSite cookie restrictions are not applied to windows opened from links
CVE-2026-113796 / GHSA-2p8c-gr87-2676
More information
Details
Impact
Pages opened into a new window from a link were loaded as if the app itself had navigated there rather than the page that contained the link, so the request was treated as same-site:
SameSite=Strictcookies were sent andSec-Fetch-Sitedid not identify the initiating page. Content shown in the app could use this to make a credentialed top-level request to another site that relies on SameSite cookies as a CSRF defence.Apps are only affected if they load untrusted content and allow it to open new windows. Apps that deny new windows from untrusted content with
setWindowOpenHandlerare not affected.Workarounds
Return
{ action: 'deny' }fromsetWindowOpenHandlerfor windows opened by untrusted content.Fixed Versions
45.0.0-alpha.644.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Mitigation for compromised eMudhra intermediate certificates
CVE-2026-115570 / GHSA-jr5w-w6x2-84p9
More information
Details
Impact
A set of eMudhra intermediate certificates were compromised and are being blocked by browsers and other TLS clients. This Electron update adds the same block to both Chromium networking and Node.js
tls,httpsandfetch. On earlier versions, an attacker holding a certificate issued through these intermediates and able to intercept network traffic could impersonate a TLS server to an app.Apps are only affected if they make TLS connections over a network an attacker can intercept. Apps that make no network connections are not affected.
Other software has shipped the same mitigation, including Go (CVE-2026-111943) and Firefox (CVE-2026-113470).
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-beta.644.9.143.8.142.11.16For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
electron/electron (electron)
v42.11.16: electron v42.11.16Compare Source
Release Notes for v42.11.16
Fixes
webPreferences. #55050 (Also in 43, 44, 45)setCertificateVerifyPrococcasionally not being applied to a request issued concurrently with the first request to a host. #55054 (Also in 43, 44, 45)v42.11.15: electron v42.11.15Compare Source
Release Notes for v42.11.15
Fixes
net.fetchandsession.fetchfailing permanently withnet::ERR_FAILEDafter the Network Service process restarts. #54925 (Also in 43, 44, 45)utilityProcessdropping messages posted withprocess.parentPort.postMessage()right before the process exits. #55000 (Also in 43, 45)Other Changes
v42.11.14: electron v42.11.14Compare Source
Release Notes for v42.11.14
Other Changes
v42.11.13: electron v42.11.13Compare Source
Release Notes for v42.11.13
Fixes
v42.11.12: electron v42.11.12Compare Source
Release Notes for v42.11.12
Fixes
ResizeObserverloop-limit error handler modified layout. #54610 (Also in 43, 44, 45)Other Changes
v42.11.11: electron v42.11.11Compare Source
Release Notes for v42.11.11
Fixes
v42.11.10: electron v42.11.10Compare Source
Release Notes for v42.11.10
Other Changes
v42.11.9: electron v42.11.9Compare Source
Release Notes for v42.11.9
Fixes
clipboard.read(),readText()andhas()resolving seconds late on Linux while the app was idle. #54310 (Also in 43, 44, 45)fs.rmSyncfailing to remove read-only files on Windows. #54257 (Also in 43, 44, 45)pointerLockpermission requests from some iframes reporting the parent frame. #54466 (Also in 43, 44, 45)utilityProcessdroppingstdout/stderroutput that the child wrote immediately before exiting. #54332 (Also in 43, 44, 45)RuntimeError: unreachableafter updating between certain patch releases. [#54239](https://redirect.github.com/electron/electron/pull