Uncontrolled Search Path Element Affecting app-builder-lib package, versions <26.15.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-APPBUILDERLIB-17744441
  • published1 Jul 2026
  • disclosed30 Jun 2026
  • creditUnknown

Introduced: 30 Jun 2026

NewCVE-2026-54672  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade app-builder-lib to version 26.15.0 or higher.

Overview

app-builder-lib is an electron-builder lib

Affected versions of this package are vulnerable to Uncontrolled Search Path Element through the execWine/executeAppBuilder command path in builder-util and app-builder-lib on non-Windows systems. An attacker can execute attacker-controlled binaries by influencing the Windows tool runner used for packaging and verification, such as when the build process launches Wine-backed helper commands for installer creation or app verification. The affected code invokes the bundled app-builder-bin helper and Wine toolchain to run packaging utilities and test installers, so a malicious or compromised build input can cause the build host to run arbitrary commands during artifact generation. This can compromise the build machine and tamper with generated installers and packages.

Notes

  • The legacy toolsets.wine = "0.0.0" path is only used on macOS; Linux falls back to the system wine binary instead of the bundled Mac bundle.

Workarounds

  • Set LD_LIBRARY_PATH to a non-empty value before launching the AppImage, so the runtime path concatenation does not add the current working directory to the dynamic linker search path.
  • Avoid running vulnerable AppImage files from world-writable directories such as /tmp, so an attacker cannot place a malicious shared library in the launch directory.

CVSS Base Scores

version 4.0
version 3.1