8.6high
Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 9.24% (higher than 95% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| Nagios Log Server | before 2026R1.0.1 | CVE List |
| nagios log_server | before 2026, 2026 | NVD |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Versiones de Nagios Log Server anteriores a 2026R1.0.1 contienen una vulnerabilidad de inyección de comandos autenticada en la característica experimental 'Natural Language Queries'. Cuando esta característica está configurada, ciertas configuraciones controladas por el usuario -incluyendo la selección del modelo y los parámetros de conexión- se leen de la configuración global y se concatenan en un comando de shell que se ejecuta a través de shell_exec() sin un manejo adecuado de la entrada o saneamiento de los argumentos de la línea de comandos. Un usuario autenticado con acceso a la página 'Global Settings' puede proporcionar valores manipulados en estos campos para inyectar comandos de shell adicionales, lo que resulta en la ejecución arbitraria de comandos como el usuario 'www-data' y el compromiso del host del Log Server.
References
| https://www.nagios.com/products/security/#log-server | patch, vendor-advisory | |
| https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ | patch, release-notes | |
| https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries | third-party-advisory | |
| https://theyhack.me/Rooting-Nagios-Log-Server/ | exploit, technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34322 changed 2026-05-14 | CVE Terms of Use |
| NVD | CVE-2025-34322 changed 2026-10-07 | Public domain |