CVE-2021-25298
8.8, high Known exploitedNagios XI OS Command Injection
- CVSS
- 8.8, high high CVSS v3.1
- EPSS, next 30 days
- 74% higher than 99.4% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 15 Feb 20215 years ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 18 Jan 2022. US federal agencies had to remediate by 1 Feb 2022, a deadline that has passed.
Required action. Apply updates per vendor instructions.
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/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.
Details
- Vendor
- Nagios
- Product
- Nagios Xi
- Weakness
- CWE-78 (opens in a new tab)
- Status
- Analyzed
- Updated
- 9 Jul 2026
- Assigner
- cve@mitre.org
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References 6
Exploit code 4
- packetstormsecurity.com /files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html (opens in a new tab)
- packetstormsecurity.com /files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html (opens in a new tab)
- github.com /fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md (opens in a new tab)
- fastly.com /blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Nagios CVEs
Every Nagios CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2021-25296 Nagios XI OS Command Injection KEV EPSS 72% 8.8, high
- CVE-2021-25297 Nagios XI OS Command Injection KEV EPSS 57% 8.8, high
- CVE-2019-15949 Nagios XI Remote Code Execution Vulnerability KEV EPSS 77% 8.8, high
Beyond this page
Is CVE-2021-25298 in your network?
This page tells you how dangerous CVE-2021-25298 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2021-25298 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2021-25298 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 16 Oct 2026, not the live upstream state.