Skip to content
Server Security Center
KEVhigh8.8

CVE-2021-25297: Nagios XI OS Command Injection

Nagios XI · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-18.

CVSS v3.1 (CISA ADP)
8.8
high
EPSS (exploit probability, 30 days)
58%
higher than 99.1% of all CVEs
Added to CISA KEV
2022-01-18
US federal due date 2022-02-01
Automatable (CISA SSVC)
no
technical impact: total

What is CVE-2021-25297?

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.

CISA required action: Apply updates per vendor instructions.

CISA notes

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: assets.nagios.com/downloads/nagiosxi/versions.php
  • CISA's deadline for US federal agencies: 2022-02-01 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.