Electron: contextBridge object copy honors prototype setters
Summary
| CVE | CVE-2026-70610 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-05 18:17:15 UTC |
| Updated | 2026-08-06 15:17:27 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.003830000 probability, percentile 0.310330000 (date 2026-08-07)
Problem Types: CWE-1321 | CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Electron | Electron | affected < 39.8.9 | Not specified |
| CNA | Electron | Electron | affected >= 40.0.0-alpha.1, < 40.9.2 | Not specified |
| CNA | Electron | Electron | affected >= 41.0.0-alpha.1, < 41.2.2 | Not specified |
| CNA | Electron | Electron | affected >= 42.0.0-alpha.1, < 42.0.0-beta.4 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/electron/electron/releases/tag/v40.9.2 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v39.8.9 | [email protected] | github.com | |
| github.com/electron/electron/commit/5b699544cbbed51bedb7c60d75c8c42be582... | [email protected] | github.com | |
| github.com/electron/electron/commit/4ac50292d552fb510eb778392620c8530877... | [email protected] | github.com | |
| github.com/electron/electron/pull/51083 | [email protected] | github.com | |
| github.com/electron/electron/pull/51086 | [email protected] | github.com | |
| github.com/electron/electron/commit/23a6efb714dec80e2cf45d3054d18d701162... | [email protected] | github.com | |
| github.com/electron/electron/pull/51084 | [email protected] | github.com | |
| github.com/electron/electron/security/advisories/GHSA-ff2p-hmqr-hxm4 | [email protected] | github.com | |
| github.com/electron/electron/pull/51085 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v42.0.0-beta.4 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v41.2.2 | [email protected] | github.com | |
| github.com/electron/electron/commit/17d5d26499cd279fab48f5f26527f8edc02a... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.