# CVE-2026-102677: Electron preload code cache privilege escalation

Source: https://junglewise.ai/threats/cve-2026-102677-electron-sandboxed-preload-code-cache-can-be-poisoned-by-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-29. Updated: 2026-09-29  
License: CC BY 4.0 with a link back

CVE-2026-102677 · Severity: high · CVSS 7.8 · Published 2026-09-29

Electron is a framework for building cross-platform desktop applications. A flaw in how Electron caches sandboxed preload code allows a compromised renderer process to inject malicious code that executes with elevated privileges in a preload context, potentially compromising desktop applications that load untrusted web content.

Technologies: [electron (npm)](https://junglewise.ai/threats/technologies/electron), [OpenJS Foundation Electron](https://junglewise.ai/threats/technologies/openjs-foundation-electron). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [OpenJS Foundation](https://junglewise.ai/threats/vendors/openjs-foundation).

## Quick answers

**Is CVE-2026-102677 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-102677 being exploited in the wild.

**How severe is CVE-2026-102677?** High severity, with a CVSS score of 7.8, published 29 September 2026.

**Which products and versions are affected?** electron (npm) SEMVER:introduced=42.3.3,fixed=42.10.0; OpenJS Foundation Electron >= 42.3.3, < 42.10.0; >= 43.0.0-beta.1, < 43.5.0; >= 44.0.0-alpha.1, < 44.0.0-beta.6, 42.3.3 through 42.9.x, 43.0.0 through 43.4.x, 44.0.0-beta.1 through 44.0.0-beta.5.

**Is there a fix for CVE-2026-102677?** Yes. electron (npm): upgrade to 42.10.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-102677 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-102677?** Check whether you run electron (npm) or OpenJS Foundation Electron at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- electron (npm): upgrade to 42.10.0 or later

  ```sh
  npm install electron@42.10.0
  ```


## Technical details

The vulnerability exists in Electron's sandboxed preload code cache, which failed to verify that a cached entry matched the preload it was served for. A compromised renderer process could write attacker-controlled cache data that would be reused on a later load, executing arbitrary code in the privileged preload context. The issue affects applications loading untrusted content and is addressed by keying cache entries by consuming site and verifying cache integrity via hash validation.

## Affected products

- OpenJS Foundation Electron 42.3.3 through 42.9.x, 43.0.0 through 43.4.x, 44.0.0-beta.1 through 44.0.0-beta.5

## Identifiers

- CVE-2026-102677
- GHSA-qmv3-fv6v-rmhq

## Timeline

- 2026-09-29: disclosed
- 2026-08-19: patched: Fix merged in version 42.10.0, 43.5.0, and 44.0.0-beta.6

## References

- [https://github.com/electron/electron/commit/000453e399bd1dee5e86376cdd9ece5fc071e601](https://github.com/electron/electron/commit/000453e399bd1dee5e86376cdd9ece5fc071e601)
- [https://github.com/electron/electron/commit/25ba8be57c65a83d8c14ebb8aa37693df17a04f3](https://github.com/electron/electron/commit/25ba8be57c65a83d8c14ebb8aa37693df17a04f3)

## Related threats

- [Electron certificate blocklist bypass in Node.js TLS](https://junglewise.ai/threats/cve-2026-115570-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry](https://junglewise.ai/threats/cve-2026-114124-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron: Frame subscription trusts GPU-supplied frame geometry](https://junglewise.ai/threats/cve-2026-114122-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron external protocol permission misattribution](https://junglewise.ai/threats/cve-2026-114121-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron HID/USB permission checks origin spoofing in iframes](https://junglewise.ai/threats/cve-2026-113800-electron-hid-and-usb-permission-checks-can-be-attributed-to-the)
