CVE-2026-54673 electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
An attacker can steal GitLab PRIVATE-TOKEN and mixed-case Authorization credentials via cross-origin redirects in the Electron updater library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-54673?
CVE-2026-54673 is a high-severity vulnerability in electron-userland builder-util-runtime, published on 30 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2026-54673?
2 open source packages ship an affected version, including builder-util-runtime. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
builder-util-runtime npm | All versions | 9.7.0 |
builder-util-runtime npm | All versions | 9.7.0 |
Products include Electron Builder-Util-Runtime, Electron Electron-Builder.
How do I fix CVE-2026-54673?
Upgrade builder-util-runtime to 9.7.0 or later.
Is CVE-2026-54673 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54673 exists.
Sources
Also known as GHSA-p2f4-r6v6-j797.