CVE-2025-34078

published 2 Jul 2025 · updated 7 Apr 2026

NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface

8.3HighCVSS 7.3EPSS 1%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

A local privilege escalation vulnerability exists in NSClient++ 0.5.2.35 when both the web interface and ExternalScripts features are enabled. The configuration file (nsclient.ini) stores the administrative password in plaintext and is readable by local users. By extracting this password, an attacker can authenticate to the NSClient++ web interface (typically accessible on port 8443) and abuse the ExternalScripts plugin to inject and execute arbitrary commands as SYSTEM by registering a custom script, saving the configuration, and triggering it via the API. This behavior is documented but insecure, as the plaintext credential exposure undermines access isolation between local users and administrative functions.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
NSClient++=0.5.2.35

Exploit evidence

3 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-34078 severity on Zeptric[![CVE-2025-34078](https://zeptric.io/badge/cve/CVE-2025-34078.svg)](https://zeptric.io/cve/CVE-2025-34078)