CVE-2025-34079
Severity CVSS v4.0:
HIGH
Type:
CWE-94
Code Injection
Publication date:
02/07/2025
Last modified:
16/09/2025
Description
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.<br />
<br />
This capability is an intended feature, but the lack of safeguards or privilege separation makes it risky when exposed to untrusted actors.
Impact
Base Score 4.0
7.50
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



