Severity by source
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
Network redirect with low complexity; requires a credentialed feed (PR:L) and an update check (UI:R); credential crosses into attacker origin (S:C) for high confidentiality, no integrity/availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2Blast Radius
ecosystem impact- 377 npm packages depend on builder-util-runtime (25 direct, 354 indirect)
Ecosystem-wide dependent count for version 9.7.0.
DescriptionCVE.org
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.
AnalysisAI
Credential leakage in electron-updater (the auto-update component of electron-builder / builder-util-runtime) before 9.7.0 allows an attacker controlling a redirect target to harvest update-feed credentials. The HTTP redirect handler only stripped a header keyed exactly as lowercase "authorization", so PRIVATE-TOKEN (GitLab personal access tokens) and mixed-case Authorization (GitLab Bearer/OAuth) headers were forwarded to attacker-controlled cross-origin redirect destinations. There is no public exploit identified at time of analysis, but the upstream fix is published in version 9.7.0.
Technical ContextAI
electron-updater is the runtime module within the electron-builder ecosystem that performs in-app automatic updates for Electron desktop applications, fetching update metadata and binaries over HTTP(S) from feeds such as GitLab, GitHub, or generic servers. The flaw lives in HttpExecutor.prepareRedirectUrlOptions, the routine that rebuilds request options when the server returns a 3xx redirect. To prevent credential leakage across origins, this routine is supposed to drop authentication headers before following a redirect to a different host, but its matching logic compared the header key against the literal lowercase string "authorization" only. This maps to CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): because HTTP header names are case-insensitive and GitLab additionally uses a separate PRIVATE-TOKEN header for personal access tokens, any credential header not spelled exactly "authorization" survived the redirect and was replayed to the new, potentially attacker-controlled, origin.
RemediationAI
Upgrade the electron-updater / builder-util-runtime dependency to version 9.7.0 or later, which corrects the header-stripping logic to remove all credential-bearing headers (case-insensitive Authorization and PRIVATE-TOKEN) before following a cross-origin redirect; this is the primary and complete fix (Vendor-released patch: 9.7.0, commit https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe, advisory https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797). Where an immediate upgrade is not possible, reduce exposure by hosting update feeds on endpoints you fully control that do not issue cross-origin redirects, and by scoping the GitLab personal access tokens used for updates to read-only, least-privilege roles so a leaked token is less damaging - the trade-off is operational overhead and that these are mitigations, not a fix. Rotate any update-feed tokens that may already have been exposed.
More in Electron Builder
View allelectron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r
Local arbitrary code execution in electron-builder (app-builder-lib) AppImage targets prior to 26.15.0 occurs because an
electron-builder is a solution to package and build a ready for distribution Electron, Proton Native app for macOS, Wind
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40455
GHSA-p2f4-r6v6-j797