Nssm224 Privilege Escalation Updated 'link' -
Run icacls "C:\Path\To\nssm.exe" /grant "Administrators:F" /inheritance:r to set restrictive permissions. 2. Quote Service Paths Check all services for missing quotes in the image path. Action: Use PowerShell to identify risks: powershell
You're referring to a specific vulnerability!
If any result returns a user-writable path or runs as LocalSystem , assume it has been or will be targeted. Harden now, before the exploits reach your perimeter. nssm224 privilege escalation updated
This is because newer Windows defenses like Safe DLL Search Mode do not block this if the working directory is first in the search order.
Disclosed on , CVE‑2025‑41686 is a high‑severity local privilege escalation vulnerability affecting NSSM version 2.24 and earlier. The vulnerability stems from a critical configuration mistake: insecure file permissions on the nssm.exe binary. Run icacls "C:\Path\To\nssm
If the directory containing the target application executable managed by NSSM has weak permissions, an attacker can simply replace the legitimate binary with a malicious one (e.g., a reverse shell or a payload that creates a new administrator user). When the service restarts, NSSM executes the malicious payload with SYSTEM privileges. 2. Registry Modification (Weak Key Permissions)
version 2.24, a popular Windows tool used to run applications as services. Although NSSM 2.24 has been a standard release for years, recent security advisories in 2024 and 2025 have highlighted critical privilege escalation risks when it is bundled with other software. National Institute of Standards and Technology (.gov) Review of NSSM 2.24 Privilege Escalation Risks Action: Use PowerShell to identify risks: powershell You're
A secure configuration should grant . If the command shows entries such as Everyone:(F) , Users:(M) , or Authenticated Users:(W) , the system is vulnerable.
The updated NSSM224 privilege escalation exploit includes several new features and improvements. Some of the key updates include:
: If a low-privileged user has "Write" or "Full Control" over the folder where nssm.exe or the application it wraps is located, they can replace the binary with a malicious one .