Vulnerability · CVE-2021-25298
Nagios XI OS Command Injection
Published Feb 15, 2021 · catalog updated Jul 9, 2026 · Nagios Nagios XI
Patch now
CVE-2021-25298 is in the CISA known-exploited catalog, due Feb 1, 2022. Confirm Nagios Nagios XI against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- High8.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 73.64%
- Remediation
- Remediation guidance
- Affected products
- cpe nagios/nagios xi · vendor Nagios 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/cloud-vm/cloud-vm.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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe nagios/nagios xiversion unspecified
- vendor Nagios Nagios XIversion unspecified
How to fix CVE-2021-25298
Recommended remediation
Apply updates per vendor instructions. CISA due date Feb 1, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2021-25298 is in the CISA known-exploited catalog, due Feb 1, 2022. Confirm Nagios Nagios XI against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Affected version ranges are not on this record. Apply updates per vendor instructions.
What should an analyst verify?
CWE-138; CWE-78: OS Command Injection. EPSS 73.64%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Feb 15, 2021 · Catalog
Detected
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/cloud-vm/cloud-vm.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.
Jan 18, 2022 · CISA KEV
Known exploited
Apply updates per vendor instructions.
Feb 1, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jul 9, 2026 · Catalog
Updated
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/cloud-vm/cloud-vm.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.
Sources
- CISA KEVConfirmed exploitationCVE-2021-25298
Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.
cisa.gov - CVE.orgVulnerability recordCVE-2021-25298
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-25298
30-day exploitation probability 73.6%
first.org - Metasploit ModulesPublic exploit moduleexploit_linux/http/nagios_xi_configwizards_authenticated_rce
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2021-25298
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/cloud-vm/cloud-vm.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can l
nvd.nist.gov - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html
Packet Storm link already published on the finding.
packetstormsecurity.com - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html
Packet Storm link already published on the finding.
packetstormsecurity.com - VulnCheck KEVConfirmed exploitationCVE-2021-25298
Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.
vulncheck.com
References
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.