Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-34778
5.9 MEDIUM
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): Low (L)
  • Integrity (I): High (H)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): Low (L)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): None (N)
created 5 months, 1 week ago Activity log
  • Created suggestion
Electron: Service worker can spoof executeJavaScript IPC replies

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, a service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered and use the result of webContents.executeJavaScript() (or webFrameMain.executeJavaScript()) in security-sensitive decisions. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

Affected products

electron
  • ==>= 39.0.0-alpha.1, < 39.8.1
  • ==< 38.8.6
  • ==>= 40.0.0-alpha.1, < 40.8.1
  • ==>= 41.0.0-alpha.1, < 41.0.0

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 -