RCE in Nagios Log Server
CVE-2025-34322
Nagios Log Server versions prior to 2026R1.0.1 contain an authenticated command injection vulnerability in the experimental 'Natural Language Queries' feature. When this feature is configured, certain user-controlled settings—including model selection and connection parameters—are read from the global configuration and concatenated into a shell command that is executed via shell_exec() without proper input handling or command-line argument sanitation. An authenticated user with access to the 'Global Settings' page can supply crafted values in these fields to inject additional shell commands, resulting in arbitrary command execution as the 'www-data' user and compromise of the Log Server host.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.092, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nagios Log Server — versions 0
- Nagios Log Server — versions 2026
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server (last pushed 2025-11-26): Proof of Concept exploits for CVE-2025-34322 and CVE-2025-34323 in Nagios Log Server
References
- www.nagios.com/products/security/ (vendor-advisory, patch, Vendor Advisory)
- www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ (release-notes, Release Notes, patch)
- www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-… (Third Party Advisory, third-party-advisory)
- theyhack.me/Rooting-Nagios-Log-Server/ (technical-description, exploit)
This CVE has public exploit evidence. See the latest CVEs with public exploits.