Home / Nagios / Nagios Xi / CVE-2021-40345
CVE-2021-40345: is it exploited, and which versions of Nagios Xi are affected and fixed?
CVE-2021-40345 is a command injection vulnerability in Nagios Xi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: nagios xi 5.8.5 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.2, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-40345?
An issue was discovered in Nagios XI 5.8.5. In the Manage Dashlets section of the Admin panel, an administrator can upload ZIP files. A command injection (within the name of the first file in the archive) allows an attacker to execute system commands.
From the CVE record by mitre, last updated August 4, 2024, 02:27 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nagios | nagios xi | 5.8.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.
How severe is CVE-2021-40345?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-40345 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 22.7% probability of exploitation activity in the next 30 days, percentile 97.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://assets.nagios.com/downloads/nagiosxi/CHANGES-5.TXT
- https://synacktiv.com
- https://github.com/ArianeBlow/NagiosXI-EmersonFI/blob/main/README.md
- https://www.synacktiv.com/sites/default/files/2021-10/Nagios_XI_multiple_vulnerabilities_0.pdf
When was it published, and where is the official record?
- Reserved
- August 31, 2021
- Published
- October 26, 2021, 00:00 UTC
- CVE record updated
- August 4, 2024, 02:27 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:06 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Nagios Xi?
- Feb 15, 2021CVE-2021-25296 Nagios Xi: n/a exploited
- Feb 15, 2021CVE-2021-25297 Nagios Xi: OS command injection exploited
- Feb 15, 2021CVE-2021-25298 Nagios Xi: OS command injection exploited
- Sep 5, 2019CVE-2019-15949 Nagios Xi: OS command injection exploited
- Sep 14, 2026CVE-2023-24034 Nagios XI: open redirect
- Sep 14, 2026CVE-2023-24035 Nagios XI: timing side channel
- Dec 29, 2025CVE-2025-67255 Nagios Xi: SQL injection
- Dec 29, 2025CVE-2025-67254 Nagios Xi: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2021-40345
Is CVE-2021-40345 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 22.7% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Nagios Xi are affected by CVE-2021-40345?
nagios xi 5.8.5, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-40345?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-40345?
High (7.2, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40345?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.