high8.2
CVE-2026-54673
electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | builder-util-runtime | < 9.7.0 | 9.7.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Electron | Builder-Util-Runtime | before 9.7.0 |
| Electron | Electron-Builder | before 26.15.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p2f4-r6v6-j797
- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797
- https://nvd.nist.gov/vuln/detail/CVE-2026-54673
- https://github.com/electron-userland/electron-builder/pull/9834
- https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe
- https://github.com/electron-userland/electron-builder/releases/tag/electron-builder@26.15.0