NSClient++ Authenticated Remote Code Execution via ExternalScripts API
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass, Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306 and CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NSClient++ | NSClient++ | 0.5.2.35 | — | No fix listed | CNA |
- NSClient++ VendorNSClient++ Affected 0.5.2.35 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:* | 0.5.2.35 | Vulnerable | NSClient++ |
- cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:* Versions 0.5.2.35 Vulnerable ·NSClient++
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-34079
- 2026-10-03 Alias added: GHSA-rhrw-79v5-jc5x
References
More Nsclient++ vulnerabilities
- TI-2025-24245 NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface CVSS 4.0HIGH 7.3
- TI-2018-04702 Unquoted Windows search path vulnerability in NSClient++ before 0.4.1.73 allows… CVSS 3.0HIGH 7.8
Sources
- CVE-2025-34079 · CVE Program
- CVE-2025-34079 · NVD
- FIRST EPSS
- GHSA-rhrw-79v5-jc5x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences