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

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.24%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-17T17:48:04.503Z
- Modified: 2026-10-07T21:10:00.200Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Nagios Log Server: before 2026R1.0.1
- nagios log_server: before 2026; 2026

## Every score

- VulnCheck: CVSS: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`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://theyhack.me/Rooting-Nagios-Log-Server/> (exploit, technical-description)
- <https://www.nagios.com/products/security/#log-server> (patch, vendor-advisory)
- <https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/> (patch, release-notes)
- <https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-34322](https://www.cve.org/CVERecord?id=CVE-2025-34322), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2025-34322](https://nvd.nist.gov/vuln/detail/CVE-2025-34322), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-34322 · Whole record: https://cve.day/CVE-2025-34322.json · Rebuilt by cve.day 2026-11-25T22:59:07.727Z
