CVE-2026-102677

Electron: Sandboxed preload code cache can be poisoned by a compromised renderer

Published Sep 29, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.3 until 42.10.0, 43.5.0, and 44.0.0-beta.6, Electron's sandboxed preload code cache did not verify that a cached entry matched the preload it was served for. A compromised renderer could write attacker-controlled cache data and cause Electron to reuse it for a later load, executing the renderer's code in the more privileged preload context. The issue affects applications that load untrusted content. This issue is fixed in versions 42.10.0, 43.5.0, and 44.0.0-beta.6.

Analysis

AI-generated

Technical impact

Electron’s sandboxed preload cache was incorrectly validated, allowing a compromised renderer process to store attacker‑controlled cache entries. When a trusted preload is later invoked, the application mistakenly reuses that cached data, executing the malicious code with elevated privileges. This vulnerability is a classic example of input validation failure (CWE‑20) combined with a lack of integrity enforcement (CWE‑345), and can lead to arbitrary code execution within any Electron application that loads untrusted content.

Affected Systems

The Electron framework (electron:electron) is affected in versions 42.3.3 through 42.10.0, as well as in 43.5.0 and 44.0.0‑beta.6. Applications built with any of these releases that allow a renderer process to load external or untrusted web content are at risk.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, while the EPSS score of < 1% indicates a very low exploitation probability, obscuring precise exploitation likelihood. The vulnerability is not listed in the CISA KEV catalog, suggesting it has not yet been widely exploited. The likely attack vector is an untrusted renderer process—either injected via malicious web content or a compromised third‑party module. Exposing an Electron application to such content can enable a local attacker to poison the preload cache and gain remote code execution privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 42.10.0 or newer (including 43.5.0 and 44.0.0‑beta.6) to apply the fixed preload cache validation.
  • Restrict or sandbox any renderer processes that load external or untrusted web content, ensuring that only trusted sources are allowed to execute in renderer processes.
  • Implement strict content‑security policies and verify preload script sources to avoid loading untrusted scripts, thereby preventing cache poisoning.

Generated by OpenCVE AI on October 1, 2026 at 03:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qmv3-fv6v-rmhq Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
History
Type Values Removed Values Added
First Time appeared Electronjs
Electronjs electron
CPEs cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha7:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha8:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha9:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta5:*:*:*:node.js:*:*
Vendors & Products Electronjs
Electronjs electron
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
Type Values Removed Values Added
Description Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.3 until 42.10.0, 43.5.0, and 44.0.0-beta.6, Electron's sandboxed preload code cache did not verify that a cached entry matched the preload it was served for. A compromised renderer could write attacker-controlled cache data and cause Electron to reuse it for a later load, executing the renderer's code in the more privileged preload context. The issue affects applications that load untrusted content. This issue is fixed in versions 42.10.0, 43.5.0, and 44.0.0-beta.6.
Title Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
Weaknesses CWE-20
CWE-345
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-345

    Insufficient Verification of Data Authenticity

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 2, 2026, 12:18 PM
Reserved
Sep 29, 2026, 4:10 PM
Status
Analyzed
Published
Sep 29, 2026, 6:17 PM
Modified
Oct 8, 2026, 8:24 PM
Severity
Important
Public date
Sep 29, 2026, 5:43 PM