CVE-2026-70610 json
Electron: contextBridge object copy honors prototype setters
published 2026-08-05 3 mo ago modified 2026-10-08 32 d ago also GHSA-ff2p-hmqr-hxm4 , EUVD-2026-53543
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.4, objects copied across the contextBridge boundary from untrusted content could carry an attacker-influenced prototype, enabling prototype-pollution-style attacks against preload code despite context isolation being enabled. Apps are only affected if their preload code accepts object arguments from untrusted content and reads properties from them without own-property checks, while apps that only accept primitive arguments or validate object arguments are not affected. This issue is fixed in 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.4.
Patch / fix
- npm electron 39.8.9, 40.9.2, 41.2.2, 42.0.0-beta.4
- electronjs electron 39.8.9, 40.9.2, 41.2.2
- github.com/electron/electron@17d5d26 commit
- github.com/electron/electron@23a6efb commit
- github.com/electron/electron@4ac5029 commit
- github.com/electron/electron@5b69954 commit
- github.com/electron/electron#51083 pull request
- github.com/electron/electron#51084 pull request
- github.com/electron/electron#51085 pull request
- github.com/electron/electron#51086 pull request
- github.com/electron/electron/releases/tag/v39.8.9 release
- github.com/electron/electron/releases/tag/v40.9.2 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <39.8.9 >=40.0.0-alpha.1, <40.9.2 >=41.0.0-alpha.1, <41.2.2 >=42.0.0-alpha.1, <42.0.0-beta.4 |
39.8.9 40.9.2 41.2.2 42.0.0-beta.4 |
Affected products
- electron electron
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/electron/electron/pull/51083
web, issue-tracking, patch
-
github.com
/electron/electron/pull/51084
web, issue-tracking, patch
-
github.com
/electron/electron/pull/51085
web, issue-tracking, patch
-
github.com
/electron/electron/pull/51086
web, issue-tracking, patch
-
github.com
/electron/electron/commit/17d5d26499cd279fab48f5f26527f8edc02a7713
web, patch
-
github.com
/electron/electron/commit/23a6efb714dec80e2cf45d3054d18d701162e4dd
web, patch
-
github.com
/electron/electron/commit/4ac50292d552fb510eb778392620c85308770a55
web, patch
-
github.com
/electron/electron/commit/5b699544cbbed51bedb7c60d75c8c42be5825737
web, patch
-
github.com
/electron/electron/security/advisories/GHSA-ff2p-hmqr-hxm4
web, vendor-advisory, mitigation
-
github.com
/electron/electron/releases/tag/v39.8.9
web, release-notes
-
github.com
/electron/electron/releases/tag/v40.9.2
web, release-notes
-
github.com
/electron/electron/releases/tag/v41.2.2
web, release-notes
-
github.com
/electron/electron/releases/tag/v42.0.0-beta.4
web, release-notes
-
github.com
/electron/electron
package
Sources
- CVE List CVE-2026-70610
- GitHub Advisory GHSA-ff2p-hmqr-hxm4
- NVD CVE-2026-70610
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.