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
- 99.0%
- 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 50× in last 7d / 219× 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 413 total refreshes for this CVE.
- 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
Show 75 moreShow fewer
- 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
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-15 15:00 UTCGHSA enrichment
- 2026-07-15 10:56 UTCGHSA enrichment
- 2026-07-15 06:53 UTCGHSA enrichment
- 2026-07-15 02:51 UTCGHSA enrichment
- 2026-07-14 22:49 UTCGHSA enrichment
- 2026-07-14 18:45 UTCGHSA enrichment
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-14 14:40 UTCGHSA enrichment
- 2026-07-14 10:37 UTCGHSA enrichment
- 2026-07-14 06:33 UTCGHSA enrichment
- 2026-07-14 02:30 UTCGHSA enrichment
- 2026-07-13 22:29 UTCGHSA enrichment
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 18:27 UTCGHSA enrichment
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 14:25 UTCGHSA enrichment
- 2026-07-13 10:22 UTCGHSA enrichment
- 2026-07-13 06:20 UTCGHSA enrichment
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 02:18 UTCGHSA enrichment
- 2026-07-12 22:16 UTCGHSA enrichment
- 2026-07-12 18:14 UTCGHSA enrichment
- 2026-07-12 14:11 UTCGHSA enrichment
- 2026-07-12 10:08 UTCGHSA enrichment
- 2026-07-12 06:06 UTCGHSA enrichment
- 2026-07-12 02:02 UTCGHSA enrichment
- 2026-07-11 21:59 UTCGHSA enrichment
- 2026-07-11 17:57 UTCGHSA enrichment
- 2026-07-11 13:55 UTCGHSA enrichment
- 2026-07-11 09:53 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
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.