CVE-2025-34322
JSON

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 packageVersionsReported by
Nagios Log Serverbefore 2026R1.0.1CVE List
nagios log_serverbefore 2026, 2026NVD

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

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

Sources

SourceRecordLicence
CVE ListCVE-2025-34322 changed 2026-05-14CVE Terms of Use
NVDCVE-2025-34322 changed 2026-10-07Public domain