CVE-2020-4077
published high CVSS 3.1 · 7.7Context isolation bypass via contextBridge in Electron
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron>= 9.0.0-beta.0, <= 9.0.0-beta.20 · >= 8.0.0, < 8.2.4 · < 7.2.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | >= 9.0.0-beta.0, <= 9.0.0-beta.20 (affected)>= 8.0.0, < 8.2.4 (affected)< 7.2.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-501 CWE-501 Trust Boundary Violation
References
2Provider assertions
2GitHub_M · cna
Context isolation bypass via contextBridge in Electron
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6411e582e291fc9470a83939e767a747a7c993bfb81433d32ef1f54e48d40b2d
- Ingested
- 23 Sep 2026, 07:50:50 UTC
- Source record
- Official CVE record