Actively exploited vulnerability / CVE-2021-25297
Nagios XI: a logged-in user can take control of the monitoring server
This flaw lets an attacker who already has an account in Nagios XI run their own commands on the server where the software is installed. A monitoring server usually has visibility into many other devices on the network, so taking it over can open the way to the rest of the company's systems. It is on the lists of vulnerabilities used in real attacks kept by both CISA, the US cybersecurity agency, and ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2021-25297 · EUVD-2021-12197
- Severity
- High (8.8/10)
- On the CISA list (US)
- yes, since 18 January 2022
- Deadline given to US federal agencies
- 1 February 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 58.1% (FIRST's estimate for the next 30 days)
Does it concern you?
Nagios XI is software for monitoring servers, networks and IT equipment. It is typically used by companies with their own IT team or by an IT provider that watches over their infrastructure.
Versions 5.5.6 up to and including 5.7.5 are affected. The version is shown in the Nagios XI web interface, usually at the bottom of the page or in the admin section; if you cannot find it, ask whoever manages your IT.
Affected products and versions
- Nagios XI
- nagios xi: from 5.5.6 up to and including 5.7.5
What to do
Install the latest Nagios XI update from Nagios, following the vendor's instructions. In the meantime, review who has accounts in the application and remove access that is no longer needed.
The official description
The text below is the description from the public database.
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/switch/switch.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
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.