What’s Vulnerable › Vulnerabilities
CVE-2025-34322: Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 9.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-17 · updated 2026-10-07
- Weakness: CWE-78
Description
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.
Affected products
- Nagios Log Server: before 2026; 2026-r1 — fixed in 2026
How to fix
Upgrade to a fixed version: Nagios Log Server 2026. Check the vendor advisory for mitigations.
References
- https://theyhack.me/Rooting-Nagios-Log-Server/
- https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
- https://www.nagios.com/products/security/#log-server
- https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries
Get alerted when CVE-2025-34322 or the next vulnerability affects your stack