CVE-2021-25296 in Nagios Xi
Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can lead to OS command injection on th...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nagios | Nagios Xi | ≥ 5.5.6, ≤ 5.7.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2022-01-18 |
|---|---|
| Public exploit | Not confirmed |
Official description
Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can lead to OS command injection on the Nagios XI server.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-25296 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-278031-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-02-15 |
| Last modified | 2026-07-09 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Nagios XI version xi-5.7.5 is vulnerable to OS command injection due to improper sanitization of user input in the windowswmi.inc.php file. This could allow an authenticated attacker to execute arbitrary commands on the server, leading to potential full system compromise.
The vulnerability is triggered via an HTTP request to the /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php file. An authenticated user can inject malicious commands that are not properly sanitized, leading to OS command execution.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all user inputs in the Nagios XI application. Additionally, restrict access to the affected file to only necessary users and monitor for suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-25296?
Nagios XI version xi-5.7.5 is vulnerable to OS command injection due to improper sanitization of user input in the windowswmi.inc.php file. This could allow an authenticated attacker to execute arbitrary commands on the server, leading to potential full system compromise.
What is the CVSS score for CVE-2021-25296?
CVE-2021-25296 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 71.9%.
Is CVE-2021-25296 actively exploited?
Yes. CVE-2021-25296 is in the CISA known-exploited catalog (added 2022-01-18). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-25296?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-25296?
CVE-2021-25296 affects Nagios Nagios Xi.
What NERC-CIP standard applies to CVE-2021-25296?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to critical cyber assets, potentially leading to loss of control and integrity of the system.
What IEC 62443 requirement maps to CVE-2021-25296?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to execute arbitrary code, which can compromise the security of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nagios","product":"Nagios Xi","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-09.