CVE-2025-34322
Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 17, 2025
- Updated
- May 14, 2026
- Reserved
- Apr 15, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | 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 | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Log ServerNagios |
|
References
- https://www.nagios.com/products/security/#log-servervendor-advisorypatch
- https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/release-notespatch
- https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queriesthird-party-advisory
- https://theyhack.me/Rooting-Nagios-Log-Server/technical-descriptionexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.