Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. builder-util-runtime
  4. ›
  5. CVE-2026-54673

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

July 24, 2026

In electron-builder’s builder-util-runtime package, the HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions) only stripped a credential header whose key string matched exactly lowercase "authorization". 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.


References

  • github.com/advisories/GHSA-p2f4-r6v6-j797
  • github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe
  • github.com/electron-userland/electron-builder/pull/9834
  • github.com/electron-userland/electron-builder/releases/tag/electron-builder@26.15.0
  • github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797
  • nvd.nist.gov/vuln/detail/CVE-2026-54673

Code Behaviors & Features

Detect and mitigate CVE-2026-54673 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.7.0

Fixed versions

  • 9.7.0

Solution

Upgrade to version 9.7.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/builder-util-runtime/CVE-2026-54673.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:16:45 +0000.