CVE-2026-102677 is a high-severity (CVSS 7.8) Improper Input Validation vulnerability in electron. A fix is available for electron — see the affected versions and patch details below.
Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-102677.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
electronnpmDescription
Impact
The cache Electron keeps for sandboxed preload scripts did not verify that a cached entry matched the preload it was served for. A compromised renderer could use this to run its own code in the preload context on a later load.
Apps are only affected if they load untrusted content. Apps that do not load untrusted content are not affected.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
44.0.0-beta.643.5.042.10.0
For more information
If you have any questions or comments about this advisory, email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | electron | ≥ 42.3.3&&< 42.10.0 | 42.10.0npm install electron@42.10.0 |
| 📦npm | electron | ≥ 43.0.0-beta.1&&< 43.5.0 | 43.5.0npm install electron@43.5.0 |
| 📦npm | electron | ≥ 44.0.0-alpha.1&&< 44.0.0-beta.6 | 44.0.0-beta.6npm install electron@44.0.0-beta.6 |
Affected Products
electronelectronjsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for electron, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update electron to 42.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-102677 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
A flaw was found in Electron's sandboxed preload code cache mechanism. When applications load untrusted content, a compromised renderer process can write unverified cache entries that are subsequently loaded during future script executions. This allows a local attacker to execute arbitrary code within the…
Disable loading untrusted web content within Electron renderer processes or isolate untrusted origins into dedicated web views with disabled preload scripts.Source: Red Hat security advisory for CVE-2026-102677 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-102677 in your dependencies?
Find it across npm, including transitive dependencies.