Skip to main content
← All vulnerabilities
CVE-2026-54673GHSA-P2F4-R6V6-J797

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.15.0, 9.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • electron-userland electron-builder

    fixed in 26.15.0

  • electron-userland builder-util-runtime

    fixed in 9.7.0

  • builder-util-runtimenpm

    fixed in 9.7.0

References 2

GitHub · electron-userland/electron-builder