CVE-2026-70610
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-08-05
- Last modified
- 2026-10-08
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N- Scored by
- security-advisories@github.com
- Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Electronjs | Electron | < 39.8.9 | Affected |
| Electronjs | Electron | 42.0.0 | Affected |
| Electronjs | Electron | ≥ 40.0.0, < 40.9.2 | Affected |
| Electronjs | Electron | ≥ 41.0.0, < 41.2.2 | Affected |
Weakness type
-
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1574.010: Services File Permissions Weakness
References
- https://github.com/electron/electron/commit/17d5d26499cd279fab48f5f26527f8edc02a7713
- https://github.com/electron/electron/commit/23a6efb714dec80e2cf45d3054d18d701162e4dd
- https://github.com/electron/electron/commit/4ac50292d552fb510eb778392620c85308770a55
- https://github.com/electron/electron/commit/5b699544cbbed51bedb7c60d75c8c42be5825737
- https://github.com/electron/electron/pull/51083
- https://github.com/electron/electron/pull/51084
- https://github.com/electron/electron/pull/51085
- https://github.com/electron/electron/pull/51086
- https://github.com/electron/electron/releases/tag/v39.8.9
- https://github.com/electron/electron/releases/tag/v40.9.2
- https://github.com/electron/electron/releases/tag/v41.2.2
- https://github.com/electron/electron/releases/tag/v42.0.0-beta.4
- https://github.com/electron/electron/security/advisories/GHSA-ff2p-hmqr-hxm4
Related at Berigo
Articles
-
A traveller gave a duress password at the border and was charged
Same product
2026-08-19
A United States citizen is charged with wiping the contents of his phone during a border search in January 2025. He pleaded not guilty, and the case …
-
A dealer-installed car alarm lets strangers unlock the car
Same product
2026-08-18
Researchers at UC San Diego found that the key to the KARR car alarm is hardcoded and identical across every module. Almost half of the affected owne…
-
Contractor jailed for two years after trying to extort the company that hired him
Same product
2026-08-14
A former contract data analyst has been sentenced to two years in prison for attempting to extort 2.5 million dollars in cryptocurrency from an inter…
-
Showboat: new Linux malware targeting telecom providers
Same product
2026-05-21
Lumen has uncovered a new Linux-based malware family used in targeted attacks against international telecom providers.
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.