CVE-2026-54673: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in electron-userland electron-builder
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.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-54673) in electron-userland's electron-builder affects the electron-updater component's HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions). Before version 9.7.0, it only removed the exact lowercase 'authorization' header during redirects, neglecting other credential headers like 'PRIVATE-TOKEN' and mixed-case 'Authorization'. This improper header stripping could cause sensitive credentials to be forwarded to malicious cross-origin redirect URLs, exposing them to unauthorized actors. The vulnerability is classified as CWE-200 (Exposure of Sensitive Information). It has a CVSS 4.0 score of 8.2 (high severity). The issue has been fixed in version 9.7.0.
Potential Impact
Sensitive credential headers such as GitLab personal access tokens and bearer tokens could be leaked to attacker-controlled redirect destinations during HTTP redirects, potentially allowing unauthorized access or information disclosure. This exposure affects applications using electron-updater versions prior to 9.7.0.
Mitigation Recommendations
Upgrade electron-builder's electron-updater component to version 9.7.0 or later, where the HTTP redirect handler properly strips all credential-bearing headers during redirects. Patch status is confirmed by the vendor advisory indicating the fix in 9.7.0. No additional mitigation is indicated.
CVE-2026-54673: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in electron-userland electron-builder
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.
CVSS v4.0
Score 8.2high
Affected software
pkg:github/electron-userland/electron-builderRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-54673) in electron-userland's electron-builder affects the electron-updater component's HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions). Before version 9.7.0, it only removed the exact lowercase 'authorization' header during redirects, neglecting other credential headers like 'PRIVATE-TOKEN' and mixed-case 'Authorization'. This improper header stripping could cause sensitive credentials to be forwarded to malicious cross-origin redirect URLs, exposing them to unauthorized actors. The vulnerability is classified as CWE-200 (Exposure of Sensitive Information). It has a CVSS 4.0 score of 8.2 (high severity). The issue has been fixed in version 9.7.0.
Potential Impact
Sensitive credential headers such as GitLab personal access tokens and bearer tokens could be leaked to attacker-controlled redirect destinations during HTTP redirects, potentially allowing unauthorized access or information disclosure. This exposure affects applications using electron-updater versions prior to 9.7.0.
Mitigation Recommendations
Upgrade electron-builder's electron-updater component to version 9.7.0 or later, where the HTTP redirect handler properly strips all credential-bearing headers during redirects. Patch status is confirmed by the vendor advisory indicating the fix in 9.7.0. No additional mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T22:53:58.560Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4444f227e9c797197e24e1
Added to database: 06/30/2026, 22:36:34 UTC
Last enriched: 06/30/2026, 22:51:18 UTC
Last updated: 06/30/2026, 23:37:04 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.