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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| electron-userland | electron-builder | < 26.15.0 |
| electron-userland | builder-util-runtime | < 9.7.0 |
References
- https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fePatch
- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797Vendor Advisory, Exploit, Mitigation, Patch
- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797Vendor Advisory, Exploit, Mitigation, Patch
Timeline
- Published
- Jun 30, 2026
- Last modified
- Aug 26, 2026
- NVD status
- Analyzed