CVE-2025-34322: Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
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 shellexec() 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-34322?
CVE-2025-34322 is classified as a high-severity authenticated command injection vulnerability.
How do I fix CVE-2025-34322?
To mitigate CVE-2025-34322, upgrade Nagios Log Server to version 2026R1.0.1 or later.
What versions of Nagios Log Server are affected by CVE-2025-34322?
Nagios Log Server versions prior to 2026R1.0.1 are affected by CVE-2025-34322.
What feature is exploited in CVE-2025-34322?
CVE-2025-34322 exploits the 'Natural Language Queries' feature in Nagios Log Server.
What are the risks associated with CVE-2025-34322?
The risks associated with CVE-2025-34322 include unauthorized command execution on the server by authenticated users.