CVE-2020-4076 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 contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no 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 contextIsolation 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-4076 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-198751-C |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| 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 in the renderer to reach into the isolated Electron context and perform privileged actions.
The vulnerability arises from improper context isolation in Electron, enabling renderer process code to access and manipulate the Electron context, which is typically isolated for security reasons. This can lead to unauthorized actions being performed with elevated privileges.
Questions
What is CVE-2020-4076?
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 in the renderer to reach into the isolated Electron context and perform privileged actions.
What is the CVSS score for CVE-2020-4076?
CVE-2020-4076 has CVSS 9.0 (Critical). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. EPSS: 0.4%.
Is CVE-2020-4076 actively exploited?
No confirmed active exploitation of CVE-2020-4076 as of 2026-09-25.
How do I remediate CVE-2020-4076?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2020-4076?
CVE-2020-4076 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.