CVE-2020-4076: Context isolation bypass via leaked cross-context objects in Electron
Vulnerability summary
CVE-2020-4076 is a critical (CVSS 9.0) Trust Boundary Violation vulnerability in electron. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 32.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 07-07-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA7.8HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.37% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Electron1 product
- electron≥ 9.0.0-beta.0, ≤ 9.0.0-beta.20 | ≥ 8.0.0, < 8.2.4 | < 7.2.4
Electronjs1 product
- electronEOL≥ 7.0.0, < 7.2.4 | ≥ 8.0.0, < 8.2.4 | 9.0.0 | 9.0.0:beta1 | 9.0.0:beta10 | 9.0.0:beta11 | 9.0.0:beta12 | 9.0.0:beta13 | 9.0.0:beta14 | 9.0.0:beta15 | 9.0.0:beta16 | 9.0.0:beta17 | 9.0.0:beta18 | 9.0.0:beta19 | 9.0.0:beta2 | 9.0.0:beta20 | 9.0.0:beta3 | 9.0.0:beta4 | 9.0.0:beta5 | 9.0.0:beta6 | 9.0.0:beta7 | 9.0.0:beta8 | 9.0.0:beta9
Npm1 product
- electron< 7.2.4 | ≥ 8.0.0, < 8.2.4
3 vendors · 3 products
References
3 links- github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79X Refsource CONFIRMWEBThird Party Advisory