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
- 56%
- 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 40× in last 7d / 215× 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 445 total refreshes for this CVE.
- 2026-07-29 15:32 UTCGHSA enrichment
- 2026-07-29 11:29 UTCGHSA enrichment
- 2026-07-29 07:26 UTCGHSA enrichment
- 2026-07-29 03:23 UTCGHSA enrichment
- 2026-07-28 23:19 UTCGHSA enrichment
- 2026-07-28 19:16 UTCEG score recompute
- 2026-07-28 19:16 UTCGHSA enrichment
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-28 15:13 UTCGHSA enrichment
- 2026-07-28 11:12 UTCGHSA enrichment
- 2026-07-28 07:10 UTCGHSA enrichment
- 2026-07-28 03:07 UTCGHSA enrichment
- 2026-07-27 23:04 UTCGHSA enrichment
- 2026-07-27 19:24 UTCCISA KEV update
- 2026-07-27 19:00 UTCGHSA enrichment
- 2026-07-27 17:17 UTCCISA KEV update
- 2026-07-27 14:51 UTCGHSA enrichment
- 2026-07-27 10:38 UTCGHSA enrichment
- 2026-07-27 06:34 UTCGHSA enrichment
- 2026-07-27 02:31 UTCGHSA enrichment
- 2026-07-26 22:29 UTCGHSA enrichment
- 2026-07-26 18:27 UTCEG score recompute
- 2026-07-26 18:27 UTCGHSA enrichment
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-26 14:24 UTCEG score recompute
- 2026-07-26 14:24 UTCGHSA enrichment
- 2026-07-26 10:22 UTCGHSA enrichment
- 2026-07-26 06:20 UTCGHSA enrichment
- 2026-07-26 02:14 UTCEG score recompute
- 2026-07-26 02:14 UTCGHSA enrichment
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 01:58 UTCEG score recompute
- 2026-07-22 22:45 UTCEG score recompute
- 2026-07-22 20:39 UTCGHSA enrichment
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 16:35 UTCEG score recompute
- 2026-07-22 16:35 UTCGHSA enrichment
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 12:32 UTCGHSA enrichment
- 2026-07-22 08:30 UTCGHSA enrichment
- 2026-07-22 04:28 UTCGHSA enrichment
- 2026-07-22 00:24 UTCGHSA enrichment
- 2026-07-21 20:21 UTCGHSA enrichment
- 2026-07-21 16:18 UTCEG score recompute
- 2026-07-21 16:18 UTCGHSA enrichment
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-21 12:16 UTCGHSA enrichment
- 2026-07-21 08:14 UTCGHSA enrichment
- 2026-07-21 04:11 UTCGHSA enrichment
- 2026-07-21 00:08 UTCGHSA enrichment
- 2026-07-20 20:07 UTCEG score recompute
- 2026-07-20 20:07 UTCGHSA enrichment
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-20 16:05 UTCGHSA enrichment
- 2026-07-20 12:03 UTCGHSA enrichment
- 2026-07-20 08:00 UTCGHSA enrichment
- 2026-07-20 03:58 UTCGHSA enrichment
- 2026-07-19 23:56 UTCGHSA enrichment
- 2026-07-19 19:54 UTCGHSA enrichment
- 2026-07-19 15:53 UTCEG score recompute
- 2026-07-19 15:52 UTCGHSA enrichment
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 11:51 UTCGHSA enrichment
- 2026-07-19 07:49 UTCGHSA enrichment
- 2026-07-19 03:47 UTCEG score recompute
- 2026-07-19 03:47 UTCGHSA enrichment
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 23:45 UTCGHSA enrichment
- 2026-07-18 19:43 UTCGHSA enrichment
- 2026-07-18 15:40 UTCGHSA enrichment
- 2026-07-18 11:37 UTCGHSA enrichment
- 2026-07-18 07:35 UTCGHSA enrichment
- 2026-07-18 03:33 UTCGHSA enrichment
- 2026-07-17 23:31 UTCGHSA enrichment
- 2026-07-17 19:29 UTCGHSA enrichment
- 2026-07-17 15:27 UTCGHSA enrichment
- 2026-07-17 11:25 UTCGHSA enrichment
- 2026-07-17 07:23 UTCEG score recompute
- 2026-07-17 07:23 UTCGHSA enrichment
- 2026-07-17 03:21 UTCGHSA enrichment
- 2026-07-16 23:19 UTCGHSA enrichment
- 2026-07-16 19:16 UTCGHSA enrichment
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-16 15:13 UTCGHSA enrichment
- 2026-07-16 11:11 UTCGHSA enrichment
- 2026-07-16 07:09 UTCGHSA enrichment
- 2026-07-16 03:07 UTCGHSA enrichment
- 2026-07-15 23:05 UTCGHSA enrichment
- 2026-07-15 19:02 UTCGHSA enrichment
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:49 UTCCISA KEV update
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-2009-20011EG 10.0CRITICAL
- CVE-2011-10017EG 10.0CRITICAL
- CVE-2012-1166EG 10.0EPSS p91HIGH
- CVE-2012-2976EG 10.0EPSS p92HIGH
- CVE-2012-2953EG 10.0EPSS p99HIGH
- CVE-2011-4502EG 10.0EPSS p92HIGH
- CVE-2011-2148EG 10.0EPSS p92HIGH
- CVE-2011-0382EG 10.0EPSS p90HIGH
- CVE-2011-0381EG 10.0EPSS p92HIGH
- CVE-2011-0372EG 10.0HIGH
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.