Skip to content
OpenAdvisories
High · 8.2 CVE-2026-54673 EUVD-2026-40455GHSA-p2f4-r6v6-j797

electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`

Published Jun 30, 2026 · Updated Jul 1, 2026 · Assigned by GitHub_M

Description

electron-updater allows for automatic updates for Electron apps. Prior to 9.7.0, the HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions) only stripped a credential header whose key string matched exactly lowercase "authorization", exposing credentials. Other credential-bearing headers — most notably PRIVATE-TOKEN (used by GitLab's personal access token flow) and mixed-case Authorization (used by GitLab's Bearer/OAuth flow) — were not stripped and could be forwarded to an attacker-controlled cross-origin redirect destination. This issue has been fixed in version 9.7.0.

Affected products

VendorProductAffectedFixed
electron-userland electron-builder < 26.15.0 —
electron-userland builder-util-runtime < 9.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed heroic-games-launcher 2.22.0-4.1 openSUSE-SU-2026:11200-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm builder-util-runtime < 9.7.0 9.7.0 GHSA-p2f4-r6v6-j797

Advisories 1

References