CVE-2021-25297

Nagios XI OS Command Injection

Actively exploited · CISA KEV
8.8 HighCVSS v3.1
58.7%EPSS (30-day exploit probability)
2022-01-18added to KEV
2022-02-01CISA federal due date

Summary

Nagios Nagios XI. Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.

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.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Published
2021-02-15 (last modified 2026-07-09)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Nagios Nagios XI in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2021-25297 being exploited?

Yes. CISA added CVE-2021-25297 to its Known Exploited Vulnerabilities catalog on 2022-01-18, which means there is reliable evidence of active exploitation.

How do I fix CVE-2021-25297?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2021-25297?

The EPSS score is 58.74%, meaning an estimated 58.74% probability of exploitation activity in the next 30 days (percentile 99).

Other exploited Nagios vulnerabilities

CVE-2021-25298Nagios XI OS Command Injection2022-01-18
CVE-2021-25296Nagios XI OS Command Injection2022-01-18
CVE-2019-15949Nagios XI Remote Code Execution Vulnerability2021-11-03

All Nagios exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.