Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-34780
8.3 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Changed (C)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Changed (C)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
created 5 months, 2 weeks ago Activity log
  • Created suggestion
Electron: Context Isolation bypass via contextBridge VideoFrame transfer

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 39.0.0-alpha.1 to before 39.8.0, 40.0.0-alpha.1 to before 40.7.0, and 41.0.0-alpha.1 to before 41.0.0-beta.8, apps that pass VideoFrame objects (from the WebCodecs API) across the contextBridge are vulnerable to a context isolation bypass. An attacker who can execute JavaScript in the main world (for example, via XSS) can use a bridged VideoFrame to gain access to the isolated world, including any Node.js APIs exposed to the preload script. Apps are only affected if a preload script returns, resolves, or passes a VideoFrame object to the main world via contextBridge.exposeInMainWorld(). Apps that do not bridge VideoFrame objects are not affected. This issue has been patched in versions 39.8.0, 40.7.0, and 41.0.0-beta.8.

Affected products

electron
  • ==>= 39.0.0-alpha.1, < 39.8.0
  • ==>= 40.0.0-alpha.1, < 40.7.0
  • ==>= 41.0.0-alpha.1, < 41.0.0-beta.8

Matching in nixpkgs

pkgs.electron

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_39

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_40

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_41

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_42

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_43

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_44

Cross platform desktop application shell

  • nixos-unstable -

pkgs.electron-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron-cash

Bitcoin Cash SPV Wallet

  • nixos-unstable -
    • nixos-unstable-small 4.4.2
  • nixos-26.05 -
    • nixos-26.05-small 4.4.2

pkgs.electron-mail

Unofficial Election-based ProtonMail desktop client

  • nixos-unstable -
    • nixos-unstable-small 5.3.8
  • nixos-26.05 -
    • nixos-26.05-small 5.3.8

pkgs.electron-fiddle

Easiest way to get started with Electron

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_39-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_40-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_41-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_42-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_43-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_44-bin

Cross platform desktop application shell

  • nixos-unstable -

pkgs.notion-electron

Enhanced Notion Desktop client for Linux

  • nixos-unstable -
    • nixos-unstable-small 2.4.0

pkgs.electron-chromedriver

WebDriver server for running Selenium tests on Chrome

  • nixos-unstable -
  • nixos-26.05 -