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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-p2f4-r6v6-j797
- **Published:** 2026-06-30T22:11:37.587Z
- **Modified:** 2026-08-26T19:13:27.070Z

## Who should check

- Projects that depend on npm package builder-util-runtime (\< 9.7.0)
- Anyone running electron-userland electron-builder \< 26.15.0
- Anyone running electron-userland builder-util-runtime \< 9.7.0

## 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 and fixed versions

- npm `builder-util-runtime`: affected \< 9.7.0; fixed 9.7.0 (osv)
- electron-userland electron-builder: \< 26.15.0 (cvelist)
- electron-userland builder-util-runtime: \< 9.7.0 (cvelist)

## Mitigation

- Upgrade builder-util-runtime to 9.7.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54673. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54673.md
Affected: builder-util-runtime < 9.7.0
Fixed in: 9.7.0

Steps:
1. Search this machine and project for builder-util-runtime (npm), electron-userland electron-builder, electron-userland builder-util-runtime: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54673 being exploited?

There is no confirmed exploitation: CVE-2026-54673 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54673?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-54673?

builder-util-runtime \< 9.7.0.

### Is there a fix for CVE-2026-54673?

Yes. Fixed in 9.7.0. Upgrade builder-util-runtime to 9.7.0 or later.

### How do I check if I'm affected by CVE-2026-54673?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-54673>
- patch: <https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe>
- patch: <https://github.com/electron-userland/electron-builder/pull/9834>
- other: <https://github.com/electron-userland/electron-builder>
- other: <https://github.com/electron-userland/electron-builder/releases/tag/electron-builder@26.15.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54673>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p2f4-r6v6-j797> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54673>
