Nagios Log Server
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 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026R1.0.1
Fixed in 2026R1.0.1
Mitigation
Upgrade Log Server to 2026R1.0.1 or later.
References
- Vendor advisory nagios.com/products/security
- Patch nagios.com/changelog/nagios-log-server/nagios-…
Timeline
Days relative to CVE publicationFirst public PoC 8.1 days after publication; not in CISA KEV. First PoC: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server (created 25 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server | 25 Nov 2025 +8.1 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://theyhack.me/Rooting-Nagios-Log-Server/ | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /nagioslogserver/dashboard/natural_language_to_query
- Key headers
Cookie: ls_session={var}- Ports
- 8080
- Seen in
- 1 repo: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server
- Evidence
- mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:8
POST /nagioslogserver/admin/globals
- Key headers
Cookie: csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d; ls_session={var}- Body markers
csrf_ls=8f053ed2cb80988cea42d3ae3fc4415dnatural_language_query=1nlp_disclaimer=onai_provider=self_hostedself_host_ip_address=`touch /tmp/rce`ai_port=8000saveglobals=1inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server
- Evidence
- mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:7
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/nagioslogserver/dashboard/natural_language_to_query(?:[?#].*)?$
(?i)^/nagioslogserver/admin/globals(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-34322 Nagios Log Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/nagioslogserver/dashboard/natural_language_to_query"; http.header; content:"Cookie: ls_session="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-34322; classtype:web-application-attack; sid:9271892; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-34322 Nagios Log Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nagioslogserver/admin/globals"; http.header; content:"Cookie: csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d|3b| ls_session="; nocase; http.request_body; content:"csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d"; http.request_body; content:"natural_language_query=1"; http.request_body; content:"nlp_disclaimer=on"; http.request_body; content:"ai_provider=self_hosted"; http.request_body; content:"self_host_ip_address=`touch /tmp/rce`"; http.request_body; content:"ai_port=8000"; http.request_body; content:"saveglobals=1"; reference:url,poc.griffinguard.io/cve/CVE-2025-34322; classtype:web-application-attack; sid:9450494; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Nagios Log Server exploit attempt (CVE-2025-34322)
id: gg-pocmon-cve-2025-34322-9271892
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34322. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34322
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/nagioslogserver/dashboard/natural_language_to_query'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34322
title: Nagios Log Server exploit attempt (CVE-2025-34322)
id: gg-pocmon-cve-2025-34322-9450494
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34322. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34322
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nagioslogserver/admin/globals'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34322