CVE-2020-4077 in Electronjs Electron
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in ve...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Electronjs | Electron | 9.0.0 ≥ 7.0.0, < 7.2.4 ≥ 8.0.0, < 8.2.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-4077 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-198762-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2020-07-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-501: CWE-501
Analysis AI-written, not human-reviewed
A context isolation bypass vulnerability exists in Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, allowing code running in the main world context to access and perform privileged actions in the isolated Electron context.
The vulnerability arises from improper handling of context isolation in Electron, enabling malicious code to bypass intended security boundaries and execute privileged actions.
Questions
What is CVE-2020-4077?
A context isolation bypass vulnerability exists in Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, allowing code running in the main world context to access and perform privileged actions in the isolated Electron context.
What is the CVSS score for CVE-2020-4077?
CVE-2020-4077 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.0%.
Is CVE-2020-4077 actively exploited?
No confirmed active exploitation of CVE-2020-4077 as of 2026-09-25.
How do I remediate CVE-2020-4077?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2020-4077?
CVE-2020-4077 affects Electronjs Electron.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.