Origin validation error in Notepad++ - #VU159005
Published: November 4, 2026
Vulnerability details
The vulnerability allows a local user to bypass Windows User Interface Privilege Isolation (UIPI) and force a higher-integrity Notepad++ process to open and activate an arbitrary file accessible to that process.
The vulnerability exists due to missing sender validation in the Notepad++ WM_COPYDATA handler when processing file-opening messages exempted from UIPI through ChangeWindowMessageFilterEx(MSGFLT_ALLOW). A local user can send a crafted WM_COPYDATA message from a lower-integrity process with COPYDATA_FILENAMESW (dwData=2) and an attacker-chosen file path to force Notepad++ to open that file as the active buffer.