CVE-2020-4076
CVE-2020-4076 is a high-severity vulnerability in Electronjs Electron with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-501.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 3.6
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-501
- Affected product: Electronjs Electron
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-4076?
- 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.
- How severe is CVE-2020-4076?
- CVE-2020-4076 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2020-4076 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-4076?
- CVE-2020-4076 primarily affects Electronjs Electron. In total, 22 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-4076?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-4076 published?
- CVE-2020-4076 was published on 2020-07-07 and last updated on 2026-06-17.
References
- https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
Affected products (22)
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:*
More vulnerabilities in Electronjs Electron
- CVE-2017-16151 — Critical (CVSS 9.8): Based on details posted by the ElectronJS team; A remote code execution vulnerability has been discovered in Google…
- CVE-2018-1000118 — High (CVSS 8.8): Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol…
- CVE-2026-34780 — High (CVSS 8.3): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions…
- CVE-2026-34774 — High (CVSS 8.1): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to…
- CVE-2018-15685 — High (CVSS 8.1): GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and…
- CVE-2018-1000136 — High (CVSS 8.1): Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values…
All CVEs affecting Electronjs Electron →
Other CWE-501 vulnerabilities
- CVE-2026-25725 — Critical (CVSS 10.0): Claude Code is an agentic coding tool. Prior to version 2.1.2, Claude Code's bubblewrap sandboxing mechanism failed to…
- CVE-2025-48938 — Critical (CVSS 9.8): go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been…
- CVE-2024-49050 — High (CVSS 8.8): Visual Studio Code Python Extension Remote Code Execution Vulnerability
- CVE-2023-28597 — High (CVSS 8.3): Zoom clients prior to 5.13.5 contain an improper trust boundary implementation vulnerability. If a victim saves a local…
- CVE-2024-23682 — High (CVSS 8.2): Artemis Java Test Sandbox versions before 1.8.0 are vulnerable to a sandbox escape when an attacker includes class…
- CVE-2026-33828 — High (CVSS 7.8): Trust boundary violation in Windows Attestation allows an authorized attacker to elevate privileges locally.