Untrusted Search Path Affecting notepad-plus-plus/notepad-plus-plus package, versions [8.9.4,8.9.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd 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-UNMANAGED-NOTEPADPLUSPLUSNOTEPADPLUSPLUS-17660821
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-46710  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade notepad-plus-plus/notepad-plus-plus to version 8.9.6 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path via the installer process when it invokes powershell.exe without an absolute path after setting the working directory to the installation contextMenu directory. An attacker can execute arbitrary code with elevated privileges by pre-placing a malicious powershell.exe in a user-writable custom installation directory, which is then selected by a privileged user during installation.

CVSS Base Scores

version 4.0
version 3.1