Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local search-path hijack needs the victim to launch from the attacker-staged directory, so AV:L and UI:R; attacker-controlled library yields full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2Blast Radius
ecosystem impact- 7 npm packages depend on app-builder-lib (7 direct, 0 indirect)
Ecosystem-wide dependent count for version 26.15.0.
DescriptionCVE.org
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.
AnalysisAI
Local arbitrary code execution in electron-builder (app-builder-lib) AppImage targets prior to 26.15.0 occurs because an empty path component in the runtime-set LD_LIBRARY_PATH adds the current working directory to the dynamic linker search path, letting an attacker who can plant a malicious shared library in the AppImage's launch directory hijack library loading. The flaw affects Linux AppImage bundles produced by app-builder-lib (the packaging engine behind electron-builder/electron-updater) and is fixed in 26.15.0. No public exploit identified at time of analysis; CVSS 7.8 reflects high local impact rather than remote exposure.
Technical ContextAI
AppImage is a self-contained Linux application bundle format; electron-builder's app-builder-lib generates the launch wrapper that exports LD_LIBRARY_PATH so bundled Electron libraries resolve at runtime. The bug is a CWE-427 (Uncontrolled Search Path Element): an empty entry in the colon-separated LD_LIBRARY_PATH (e.g. a leading, trailing, or double colon) is interpreted by the glibc dynamic loader (ld.so) as the current working directory ('.'). Any process launching the AppImage from a directory containing an attacker-supplied .so whose name matches a library the app loads will load that library instead of the legitimate one, executing attacker code in the application's context. The affected CPEs are electron-userland:electron-builder and electron-userland:app-builder-lib, both Linux AppImage build outputs.
RemediationAI
Vendor-released patch: 26.15.0 - upgrade app-builder-lib/electron-builder to 26.15.0 or later and rebuild all Linux AppImage targets so the corrected LD_LIBRARY_PATH (without empty components) is emitted, then redistribute the rebuilt artifacts to end users. Rebuilding is essential because existing shipped AppImages retain the vulnerable wrapper even after the toolchain is updated. Until rebuilt, instruct users not to launch AppImages from untrusted, shared, or world-writable directories (e.g. /tmp or a downloads folder another user can write to) and to run them from a dedicated directory containing no untrusted .so files; this reduces but does not fully eliminate risk and may inconvenience users accustomed to running downloads in place. The fix corresponds to commit https://github.com/electron-userland/electron-builder/commit/01b8ba979; details are in advisory GHSA-7g7r-gx96-252g at https://github.com/electron-userland/electron-builder/security/advisories/GHSA-7g7r-gx96-252g.
More in Electron Builder
View allCredential leakage in electron-updater (the auto-update component of electron-builder / builder-util-runtime) before 9.7
electron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r
electron-builder is a solution to package and build a ready for distribution Electron, Proton Native app for macOS, Wind
Same weakness CWE-427 – Uncontrolled Search Path Element
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40456
GHSA-7g7r-gx96-252g