CVE-2025-34322 Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
Authenticated attackers can execute arbitrary commands on Nagios Log Server hosts by exploiting unsanitized inputs in the experimental Natural Language Queries feature.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34322?
CVE-2025-34322 is a high-severity command injection vulnerability in Nagios Log Server, published on 17 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2025-34322?
It affects 1 product.
Products include Nagios Log Server.
How do I fix CVE-2025-34322?
No fix has been published for CVE-2025-34322 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-34322 being exploited?
There is no known exploitation of CVE-2025-34322 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Nagios Log Server
- CVE-2025-44823 Information disclosure in Log Server
- CVE-2025-34277 Nagios Log Server < 2024R1.3.1 RCE via Malformed Dashboard ID
- CVE-2025-34274 Nagios Log Server < 2024R2.0.3 Logstash Process Root Privileges
- CVE-2023-7322 Nagios Log Server < 2024R1 Incorrect Authorization Granting Full API Access
- CVE-2025-34271 Nagios Log Server < 2024R2.0.2 Cluster Manager Credential Requests Sent Over Plaintext
Sources
Also known as GHSA-qrg4-jqvv-5724.