CVE-2026-54673
HIGH 8.2CVSS 4.0electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
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.
- Published
- 30 Jun 2026
- Last modified
- 26 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-200
- Also known as
- GHSA-p2f4-r6v6-j797
- Sources
- NVDJSONOSV GHSA-p2f4-r6v6-j797JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electron | builder-util-runtimecpe:2.3:a:electron:builder-util-runtime:*:*:*:*:*:node.js:*:* |
< 9.7.0 | 9.7.0 |
| NVD | electron | electron-buildercpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:* |
< 26.15.0 | 26.15.0 |
| OSV | npm | builder-util-runtime | < 9.7.0 | 9.7.0 |
References
- https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe · Patch, WEB
- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797 · Vendor Advisory, Exploit, Mitigation, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54673 · ADVISORY
- https://github.com/electron-userland/electron-builder/pull/9834 · WEB
- https://github.com/electron-userland/electron-builder · PACKAGE
- https://github.com/electron-userland/electron-builder/releases/tag/electron-builder@26.15.0 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 30 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)