Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-70601

CVE-2026-70601: Electron: Context isolation bypass via Function.prototype.bind hijack

August 5, 2026

Apps that expose Promise-returning functions to web content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could obtain access to the isolated preload world and, through it, every capability the preload script has. In renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access.

Apps are affected if they expose Promise-returning functions via contextBridge — the standard pattern for wrapping ipcRenderer.invoke — in windows that load untrusted content. Apps that never load untrusted content in those windows are not affected.

References

  • github.com/advisories/GHSA-h7rp-cf8h-j98x
  • github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x
  • nvd.nist.gov/vuln/detail/CVE-2026-70601

Code Behaviors & Features

Detect and mitigate CVE-2026-70601 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 39.8.9, all versions starting from 40.0.0-alpha.1 before 40.9.2, all versions starting from 41.0.0-alpha.1 before 41.2.2, all versions starting from 42.0.0-alpha.1 before 42.0.0-beta.5

Fixed versions

  • 39.8.9
  • 40.9.2
  • 41.2.2
  • 42.0.0-beta.5

Solution

Upgrade to versions 39.8.9, 40.9.2, 41.2.2, 42.0.0-beta.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

npm/electron/CVE-2026-70601.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.