NSClient++
NSClient++ Authenticated Remote Code Execution via ExternalScripts API
An authenticated remote code execution vulnerability exists in NSClient++ version 0.5.2.35 when the web interface and ExternalScripts module are enabled. A remote attacker with the administrator password can authenticate to the web interface (default port 8443), inject arbitrary commands as external scripts via the /settings/query.json API, save the configuration, and trigger the script via the /query/{name} endpoint. The injected commands are executed with SYSTEM privileges, enabling full remote compromise. This capability is an intended feature, but the lack of safeguards or privilege separation makes it risky when exposed to untrusted actors.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 0.5.2.35
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 97 days after publication; not in CISA KEV. First PoC: Metasploit exploit: NSClient++ 0.5.2.35 - ExternalScripts Authenticated Remote Code Execution (exploit/windows/http/nscp_authenticated_rce) (Metasploit, 7 Oct 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/nscp_authenticated_rce.rb | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/48360 | unknown | 14 Nov 2026 |
| Metasploit | Metasploit exploit: NSClient++ 0.5.2.35 - ExternalScripts Authenticated Remote Code Execution (exploit/windows/http/nscp_authenticated_rce) | 7 Oct 2025 | 14 Nov 2026 |