CVE-2026-54673 electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
8 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/goose(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/goose(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/rh-podman-desktop.git(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| electron builder-util-runtime | < 9.7.0 | 9.7.0 | Fixed |
| electron-builder | < 26.15.0 | 26.15.0 | Fixed |
| npm builder-util-runtime(npm) | < 9.7.0 | 9.7.0 | Fixed |
| electron-userland builder-util-runtime | = < 9.7.0 | No fix listed | Versions listed |
| electron-userland electron-builder | = < 26.15.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electron-userland electron-builder | = < 26.15.0 | No fix listed |
| electron-userland builder-util-runtime | = < 9.7.0 | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/goose(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/goose(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| npm builder-util-runtime(npm) | < 9.7.0 | 9.7.0 |
| electron builder-util-runtime | < 9.7.0 | 9.7.0 |
| electron-builder | < 26.15.0 | 26.15.0 |
References
- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797 exploit mitigation patch vendor-advisory
- https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe patch
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2495432 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product