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.
Published: 2026-06-30
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The electron-updater component manages automatic updates for Electron applications. In versions before 9.7.0 the HTTP redirect handler only removed headers whose key was exactly "authorization" in lowercase, leaving headers such as PRIVATE-TOKEN and mixed‑case Authorization intact when a redirect was followed. An attacker who can supply or convince the application to follow a redirect to a malicious domain could therefore have these credential headers forwarded, exposing sensitive authentication data. This behaviour corresponds to CWE-200 and CWE-201.

Affected Systems

The flaw exists in the builder-util-runtime library that is used by electron-builder, affecting all releases of that library and the electron-builder package up to, but not including, version 9.7.0. Applications that rely on electron-updater for automatic updates and that include private tokens or other credential headers in the update request are potentially impacted.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. The EPSS score of < 1% suggests a low likelihood of exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to control or influence the update process so that the client follows a redirect to a malicious domain. Once the redirect occurs, the preserved PRIVATE‑TOKEN or Authorization headers are forwarded to that domain, resulting in credential compromise. No elevated privileges or special user interaction beyond normal update usage are required.

Generated by OpenCVE AI on July 21, 2026 at 17:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade electron-builder to version 9.7.0 or later to ensure that the redirect handler strips all credential headers.
  • If upgrading is not immediately possible, modify the application’s redirect logic to strip any header containing the words Authorization or PRIVATE‑TOKEN before a redirect is performed, or disable automatic redirects during the update process.
  • Validate the update server URL and enforce HTTPS to prevent accidental redirection to malicious hosts.

Generated by OpenCVE AI on July 21, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

threat_severity

Moderate


Wed, 01 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Electron-userland
Electron-userland builder-util-runtime
Electron-userland electron-builder
Vendors & Products Electron-userland
Electron-userland builder-util-runtime
Electron-userland electron-builder

Tue, 30 Jun 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 8.2, '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'}


Subscriptions

Electron-userland Builder-util-runtime Electron-builder
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-01T13:26:49.397Z

Reserved: 2026-06-15T22:53:58.560Z

Link: CVE-2026-54673

cve-icon Vulnrichment

Updated: 2026-07-01T13:26:32.042Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-30T22:11:37Z

Links: CVE-2026-54673 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T18:00:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-201

    Insertion of Sensitive Information Into Sent Data