# CVE-2021-40344: An issue was discovered in Nagios XI 5.8.5.

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 64.8%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-26T10:52:00.000Z
- Modified: 2026-06-17T04:06:45.963Z
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

An issue was discovered in Nagios XI 5.8.5. In the Custom Includes section of the Admin panel, an administrator can upload files with arbitrary extensions as long as the MIME type corresponds to an image. Therefore it is possible to upload a crafted PHP script to achieve remote command execution.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nagios nagios_xi: 5.8.5

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://www.synacktiv.com/sites/default/files/2021-10/Nagios_XI_multiple_vulnerabilities_0.pdf> (exploit, third-party-advisory)
- <https://assets.nagios.com/downloads/nagiosxi/CHANGES-5.TXT> (release-notes, vendor-advisory)
- <https://synacktiv.com> (not-applicable)

## Sources

- CVE List: [CVE-2021-40344](https://www.cve.org/CVERecord?id=CVE-2021-40344), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40344](https://nvd.nist.gov/vuln/detail/CVE-2021-40344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40344 · Whole record: https://cve.day/CVE-2021-40344.json · Rebuilt by cve.day 2026-11-25T22:58:05.199Z
