Skip to main content
VulnerabilityPublished

CVE-2026-70610: Electron · contextBridge object copy honors prototype setters

Affects electronSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.4 Medium : upgrade to 39.8.9 when convenient.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 39.8.9, 40.9.2, 41.2.2 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
npmelectronAffected
  • <39.8.9
Fixed in
  • 39.8.9
npmelectronAffected
  • >=40.0.0-alpha.1 <40.9.2
Fixed in
  • 40.9.2
npmelectronAffected
  • >=41.0.0-alpha.1 <41.2.2
Fixed in
  • 41.2.2
npmelectronAffected
  • >=42.0.0-alpha.1 <42.0.0-beta.4
Fixed in
  • 42.0.0-beta.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Electron versions 39.8.9 and later. Users should upgrade to one of these fixed versions. As a workaround, preload code should validate objects received from untrusted content using own-property checks (e.g., Object.hasOwn) or copy objects onto null-prototype objects before use to prevent prototype pollution.

Description

A vulnerability in Electron's contextBridge allows objects copied from untrusted content to carry attacker-influenced prototypes, enabling prototype-pollution-style attacks against preload code despite context isolation. This affects apps that accept object arguments from untrusted content and read their properties without own-property checks. The issue is fixed in Electron versions 39.8.9 and later.

References

Community reviews

Loading reviews…