Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-34773
4.7 MEDIUM
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): High (H)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): None (N)
  • 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: Registry key path injection in app.setAsDefaultProtocolClient on Windows

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, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. 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
  • ==>= 41.0.0-alpha.1, < 41.0.0
  • ==< 38.8.6
  • ==>= 40.0.0-alpha.1, < 40.8.1

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 -