CVE-2025-34079CWE-306CWE-94

NSClient++ Authenticated Remote Code Execution via ExternalScripts API

High · published July 2, 2025

CVSS v4.0
7.5
EPSS
2%
Percentile
77.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.5 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01695 · 77.0th percentile
Weaknesses
CWE-306 · Missing Authentication for Critical Function; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-07-02T19:27Z
EPSS history
Timeline
  • 02 JUL 19:27Z
    NSClient++ Authenticated Remote Code Execution via ExternalScripts API
    cvelistv5