CVE-2026-54672: CWE-427: Uncontrolled Search Path Element in electron-userland electron-builder
electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This issue has been fixed in version 26.15.0.
AI Analysis
Technical Summary
The electron-updater component of electron-builder versions before 26.15.0 improperly sets the LD_LIBRARY_PATH environment variable for AppImage targets, including an empty path component. This results in the current working directory being added to the dynamic linker search path at runtime. An attacker who can place a malicious shared library in the directory from which the AppImage is launched may cause arbitrary code execution. The vulnerability is identified as CWE-427 (Uncontrolled Search Path Element) and has a CVSS v3.1 score of 7.8, indicating high severity. The issue has been resolved in electron-builder version 26.15.0.
Potential Impact
Successful exploitation allows an attacker with limited privileges to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This can lead to full compromise of the affected application and potentially the host system, impacting confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade electron-builder to version 26.15.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is specified. Patch status is not explicitly stated but the fix is included in version 26.15.0, so updating to this version or newer is the recommended remediation.
CVE-2026-54672: CWE-427: Uncontrolled Search Path Element in electron-userland electron-builder
Description
electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This issue has been fixed in version 26.15.0.
CVSS v3.1
Score 7.8high
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 electron-updater component of electron-builder versions before 26.15.0 improperly sets the LD_LIBRARY_PATH environment variable for AppImage targets, including an empty path component. This results in the current working directory being added to the dynamic linker search path at runtime. An attacker who can place a malicious shared library in the directory from which the AppImage is launched may cause arbitrary code execution. The vulnerability is identified as CWE-427 (Uncontrolled Search Path Element) and has a CVSS v3.1 score of 7.8, indicating high severity. The issue has been resolved in electron-builder version 26.15.0.
Potential Impact
Successful exploitation allows an attacker with limited privileges to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This can lead to full compromise of the affected application and potentially the host system, impacting confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade electron-builder to version 26.15.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is specified. Patch status is not explicitly stated but the fix is included in version 26.15.0, so updating to this version or newer is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T22:53:58.560Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4444f227e9c797197e24dc
Added to database: 06/30/2026, 22:36:34 UTC
Last enriched: 06/30/2026, 22:51:24 UTC
Last updated: 06/30/2026, 23:37:04 UTC
Views: 4
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.