Nssm224 - Privilege Escalation Updated ((install))
This article provides an in-depth look at these updated threats, explaining why misconfigurations of NSSM pose a severe risk of local privilege escalation (LPE) and outlining the essential steps for mitigation.
These older vulnerabilities prove that the core issue — insecure file permissions on NSSM‑managed services — has persisted for nearly a decade, across multiple vendors and products. CVE‑2025‑41686 is simply the latest and most widespread instance of this class of vulnerability.
: Moving from a lower-privilege account to a higher-privilege one, such as a basic user gaining root or administrator rights. nssm224 privilege escalation updated
(Updated 2026) Verified exploitation via "Everyone" group full access to service binaries. CVE-2016-8742 Apache CouchDB Local users could substitute due to inherited parent directory permissions. How to Defend Your Systems
reg query HKLM\SYSTEM\CurrentControlSet\Services /s /f "Parameters\Application" 2>nul | findstr "ImagePath" This article provides an in-depth look at these
: The attacker waits for the associated Windows service to be restarted. This can happen through:
If an administrator installs a service using nssm.exe and leaves the binary in a location writable by users (e.g., C:\ProgramData or C:\Users\Public ), an attacker can: the legitimate nssm.exe . Replace it with a malicious executable renamed to nssm.exe . : Moving from a lower-privilege account to a
When a service runs under the SYSTEM account, it inherits absolute authority over the local operating system. If that service can be tricked into executing a malicious binary instead of its intended executable, the malicious code inherits those system-level permissions. Technical Analysis of the Vulnerability
Enable auditing for HKLM\SYSTEM\CurrentControlSet\Services\ and alert on modifications to the Parameters subkey made by non-administrative users.
Version of NSSM is the last stable release before the fix was introduced in the 2.25 pre‑release builds. Despite its age, NSSM 2.24 remains embedded in thousands of software installers, internal corporate scripts, and third‑party products — making the vulnerability particularly widespread.
version 2.24 where it may fail to properly handle permissions, potentially allowing an attacker to elevate their privileges to