CVE-2026-70610

Electron: contextBridge object copy honors prototype setters

MEDIUM
5.4
CVSS Score
Published: August 5, 2026 at 05:41 PM UTC
Updated: October 8, 2026 at 01:53 PM UTC
2 products affected across 2 vendorsElectronElectron

Using electron by electron?

Get instant alerts when new vulnerabilities affect electron - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 39.8.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.2.2, so it looks safe — our inference, not a vendor statement
v < 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
Affected range stops below 39.8.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.2.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 42.0.0-beta.4, so it looks safe — our inference, not a vendor statement

References (13)

x_refsource_CONFIRMVendor AdvisoryMitigation
Source: cverecord
https://github.com/electron/electron/security/advisories/GHSA-ff2p-hmqr-hxm4
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/51083
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/51084
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/51085
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/51086

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1321

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card