Skip to content

CVE-2025-34079 NSClient++ Authenticated Remote Code Execution via ExternalScripts API

HighCVSS 7.5 EPSS 1.7% Framework module
Published
Updated
Exploit status
Public exploit available
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

This capability is an intended feature, but the lack of safeguards or privilege separation makes it risky when exposed to untrusted actors.

Upgrade path

2 packages: 0 fixed.

PackageAffectedFixed inStatus
NSClient++ = 0.5.2.35 No fix listed Versions listed
nsclient++ = 0.5.2.35 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
NSClient++ = 0.5.2.35 No fix listed
nsclient++ = 0.5.2.35 No fix listed

References