Path Equivalence Affecting notepad-plus-plus/notepad-plus-plus package, versions [,8.9.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th 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-17660824
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-52884  (opens in a new tab)
CWE-42  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Path Equivalence in the isInTrustedDirectory function due to improper path canonicalization before performing a prefix-based directory check. An attacker can execute arbitrary code by crafting a path traversal sequence that bypasses trusted directory validation when launching executables.

CVSS Base Scores

version 4.0
version 3.1