CVE-2021-25297Nagios XI
OS Command Injection in Nagios XI
High 8.8 KEV High EPSS
Follow: this CVE · Nagios · Nagios XI We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 8.8
- EPSS
- 58.1% probability of exploitation in 30 days · percentile 99
- Auth required
- Yes
- In KEV since
- Jan 18, 2022
- CISA deadline
- Feb 1, 2022
- Ransomware use
- Unknown
- Published
- Feb 15, 2021
- Updated
- Jul 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Nagios XI versions 5.5.6 through 5.7.5 are affected by OS command injection in the switch.inc.php file. An authenticated user can send a malicious HTTP request with unsanitized input to execute arbitrary commands on the Nagios XI server. CISA has confirmed this vulnerability is actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available
Update Nagios XI to version 5.7.6 or later following vendor instructions.
- Apply the vendor's security update for Nagios XI.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 1, 2022.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nagios | nagios_xi | ≥ 5.5.6 ≤ 5.7.5 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- assets.nagios.com Product
- github.com Exploit Third Party Advisory
- www.fastly.com Exploit Third Party Advisory
- www.cisa.gov US Government Resource