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.
CVE-2021-25297
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-01-18), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 8.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 9.0(high)
- EG Risk
- 81(Attend)EG Risk 81/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 57%
- EPSS %ILE
- 99%
- KEV
- ⚠ Exploited
Published
February 15, 2021
Last Modified
July 9, 2026
Advisory Details (4)
Auto-updated Jun 2, 2026Command Injection CVE-2021-25296: A Deep Dive | Fastly | Fastly
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andnagios-xi-5.7.5-bugs/README.md at main · fs0c-sh/nagios-xi-5.7.5-bugs · GitHub
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 58× in last 7d / 241× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 906 total refreshes for this CVE.
- 2026-09-25 08:24 UTCGHSA enrichment
- 2026-09-25 04:22 UTCGHSA enrichment
- 2026-09-25 00:21 UTCGHSA enrichment
- 2026-09-24 20:19 UTCGHSA enrichment
- 2026-09-24 19:31 UTCCISA KEV update
- 2026-09-24 16:17 UTCEG score recompute
- 2026-09-24 16:17 UTCGHSA enrichment
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 12:15 UTCGHSA enrichment
- 2026-09-24 08:13 UTCGHSA enrichment
- 2026-09-24 04:12 UTCGHSA enrichment
- 2026-09-24 00:09 UTCGHSA enrichment
- 2026-09-23 20:08 UTCGHSA enrichment
- 2026-09-23 16:06 UTCEG score recompute
- 2026-09-23 16:06 UTCGHSA enrichment
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-23 12:05 UTCGHSA enrichment
- 2026-09-23 08:03 UTCGHSA enrichment
- 2026-09-23 04:01 UTCGHSA enrichment
- 2026-09-22 23:59 UTCGHSA enrichment
- 2026-09-22 19:57 UTCGHSA enrichment
- 2026-09-22 19:36 UTCCISA KEV update
- 2026-09-22 15:55 UTCEG score recompute
- 2026-09-22 15:55 UTCGHSA enrichment
- 2026-09-22 11:53 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-22 07:51 UTCGHSA enrichment
- 2026-09-22 03:50 UTCGHSA enrichment
- 2026-09-21 23:48 UTCEG score recompute
- 2026-09-21 23:47 UTCGHSA enrichment
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-21 19:45 UTCGHSA enrichment
- 2026-09-21 19:09 UTCCISA KEV update
- 2026-09-21 15:43 UTCGHSA enrichment
- 2026-09-21 11:41 UTCGHSA enrichment
- 2026-09-21 07:39 UTCGHSA enrichment
- 2026-09-21 03:37 UTCGHSA enrichment
- 2026-09-20 23:35 UTCGHSA enrichment
- 2026-09-20 19:33 UTCGHSA enrichment
- 2026-09-20 15:31 UTCGHSA enrichment
- 2026-09-20 11:28 UTCGHSA enrichment
- 2026-09-20 07:23 UTCGHSA enrichment
- 2026-09-20 03:17 UTCGHSA enrichment
- 2026-09-19 23:16 UTCGHSA enrichment
- 2026-09-19 19:14 UTCEG score recompute
- 2026-09-19 19:14 UTCGHSA enrichment
- 2026-09-19 15:37 UTCEPSS rescore
- 2026-09-19 15:12 UTCGHSA enrichment
- 2026-09-19 11:10 UTCGHSA enrichment
- 2026-09-19 07:08 UTCGHSA enrichment
- 2026-09-19 03:06 UTCGHSA enrichment
- 2026-09-18 23:04 UTCEG score recompute
- 2026-09-18 23:04 UTCGHSA enrichment
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 19:03 UTCGHSA enrichment
- 2026-09-18 15:01 UTCGHSA enrichment
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-18 10:59 UTCGHSA enrichment
- 2026-09-18 06:57 UTCGHSA enrichment
- 2026-09-18 02:55 UTCGHSA enrichment
- 2026-09-17 22:53 UTCEG score recompute
- 2026-09-17 22:52 UTCGHSA enrichment
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-17 18:50 UTCGHSA enrichment
- 2026-09-17 14:47 UTCGHSA enrichment
- 2026-09-17 10:45 UTCGHSA enrichment
- 2026-09-17 06:43 UTCGHSA enrichment
- 2026-09-17 02:41 UTCGHSA enrichment
- 2026-09-16 22:37 UTCGHSA enrichment
- 2026-09-16 18:34 UTCGHSA enrichment
- 2026-09-16 14:31 UTCEG score recompute
- 2026-09-16 14:31 UTCGHSA enrichment
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 10:29 UTCGHSA enrichment
- 2026-09-16 06:28 UTCEG score recompute
- 2026-09-16 06:27 UTCGHSA enrichment
- 2026-09-16 02:26 UTCGHSA enrichment
- 2026-09-15 22:22 UTCGHSA enrichment
- 2026-09-15 18:20 UTCGHSA enrichment
- 2026-09-15 14:18 UTCGHSA enrichment
- 2026-09-15 10:16 UTCGHSA enrichment
- 2026-09-15 06:14 UTCEG score recompute
- 2026-09-15 06:14 UTCGHSA enrichment
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-15 02:11 UTCGHSA enrichment
- 2026-09-14 22:09 UTCGHSA enrichment
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-14 18:07 UTCGHSA enrichment
- 2026-09-14 14:05 UTCGHSA enrichment
- 2026-09-14 10:03 UTCGHSA enrichment
- 2026-09-14 06:01 UTCGHSA enrichment
- 2026-09-14 02:00 UTCGHSA enrichment
- 2026-09-13 21:58 UTCGHSA enrichment
- 2026-09-13 17:56 UTCGHSA enrichment
- 2026-09-13 13:54 UTCGHSA enrichment
- 2026-09-13 09:52 UTCGHSA enrichment
- 2026-09-13 05:49 UTCGHSA enrichment
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Metasploit module). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Metasploitexploit/linux/http/nagios_xi_configwizards_authenticated_rce✓ verifiedFirst seen Feb 13, 2021
Nagios XI 5.5.6 to 5.7.5 - ConfigWizards Authenticated Remote Code Exection
Open source ↗ - Nucleihttp/cves/2021/CVE-2021-25297.yamlFirst seen Jan 1, 2021
Nagios 5.5.6-5.7.5 - Authenticated Remote Command Injection
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
- CVE-2021-25298NVD 8.8EG 9.0 KEVEPSS p99CRITICAL
- CVE-2021-25296NVD 8.8EG 9.0 KEVEPSS p99CRITICAL
- CVE-2021-27201EG 8.8HIGH
- CVE-2021-21315NVD 7.1EG 9.0 KEVEPSS p100CRITICAL
- CVE-2021-27102NVD 7.8EG 9.0 KEVCRITICAL
- CVE-2021-27104EG 9.8 KEVEPSS p99CRITICAL
- CVE-2021-26752EG 8.8HIGH
- CVE-2021-26747EG 9.8EPSS p99CRITICAL
- CVE-2021-21976EG 7.2HIGH
- CVE-2021-21018EG 9.1EPSS p90CRITICAL
Frequently asked(6)
What is CVE-2021-25297?
When was CVE-2021-25297 disclosed?
Is CVE-2021-25297 actively exploited?
What is the CVSS score of CVE-2021-25297?
Which products are affected by CVE-2021-25297?
How do I remediate CVE-2021-25297?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-25297
Is Your Infrastructure Affected by CVE-2021-25297?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.