Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-11-17 | Updated 2025-11-26 | Assigner VulnCheck




HIGH: 8.6CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

Default status
unaffected

Any version before 2026R1.0.1
affected

Timeline

2025-11-05:2026R1.0.1 is released

Credits

M. Cory Billington of theyhack.me finder

References

www.nagios.com/products/security/ vendor-advisory patch

www.nagios.com/...s-log-server/nagios-log-server-2026r1-0-1/ release-notes patch

www.vulncheck.com/...-injection-via-natural-language-queries third-party-advisory

theyhack.me/Rooting-Nagios-Log-Server/ technical-description exploit

cve.org (CVE-2025-34322)

nvd.nist.gov (CVE-2025-34322)

Download JSON