CVE-2026-52884
Beskrivelse
Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\..\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory. This vulnerability is fixed in 8.9.6.2.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-06-26
- Sist endret
- 2026-06-29
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.2 %
høyere enn 11 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Notepad-plus-plus | Notepad++ | 8.9.6.1 | Berørt |
Svakhetstype
-
CWE-42: Path Equivalence: 'filename.' (Trailing Dot)
The product accepts path input in the form of trailing dot ('filedir.') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locatio…
Referanser
- https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ea1508855e9c4528f6198ce9d34…
- https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-p58x-r3c9…
Relatert hos Berigo
Artikler
-
Notepad++ 8.9.2 strammer inn oppdateringsmekanismen etter kapring
Samme produkt
2026-02-16
Notepad++ har sluppet versjon 8.9.2 med dobbel signaturkontroll i oppdateringsverktøyet, etter at oppdateringsinfrastrukturen ble kapret i 2025.
-
Oppdateringsmekanismen i Notepad++ misbrukt av statlig aktør
Samme produkt
2026-02-02
Utviklerne bak Notepad++ opplyser at trafikk fra oppdateringskomponenten ble omdirigert til angriperkontrollert infrastruktur og brukt mot utvalgte b…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.