← Vulnerability feed

Vulnerability record · CVE-2021-3277 · published 7 June 2021

CVE-2021-3277: Nagios XI custom-includes rename flaw allows authenticated admin file upload RCE

Nagios · Nagios Xi

Nagios XI 5.7.5 and earlier fails to properly validate the rename functionality in the custom-includes component, letting authenticated administrators upload arbitrary files. Because PHP files can be uploaded, this escalates from file upload to remote code execution on the Nagios XI server.

7.2 CVSS 3.1 High EPSS 55% · top 1.0% CWE-434 · Unrestricted file upload
7.2CVSS 3.1 base score, v2 6.5
55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Nagios XI 5.7.5 and earlier allows authenticated admins to upload arbitrary files due to improper validation of the rename functionality in custom-includes component, which leads to remote code execution by uploading php files.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote code execution with high confidentiality, integrity and availability impact, though it requires authenticated admin access and is not known to be exploited in the wild.

What it is

Nagios XI 5.7.5 and earlier fails to properly validate the rename functionality in the custom-includes component, letting authenticated administrators upload arbitrary files. Because PHP files can be uploaded, this escalates from file upload to remote code execution on the Nagios XI server.

Impact

An attacker with admin credentials gains remote code execution on the Nagios XI host, with high impact to confidentiality, integrity and availability. This effectively turns a management account into full server compromise.

Attack surface

Reached over the network through the Nagios XI web interface, specifically the custom-includes rename functionality. The CVSS vector requires high privileges (PR:H) and no user interaction (UI:N), so a valid admin account is needed.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high at roughly 0.546 (98.9th percentile), and the only references are third-party advisories describing the issue.

What to do

  • Upgrade Nagios XI to a version later than 5.7.5 that fixes the custom-includes rename validation.
  • Restrict and audit administrator accounts; remove unused admin privileges and enforce strong authentication.
  • Limit network access to the Nagios XI web interface to trusted management networks.
  • Monitor the custom-includes directory for unexpected or newly written PHP files and remove unauthorized content.

Detection

  • Alert on new or modified files in the Nagios XI custom-includes directory, especially .php files.
  • Review web server and Nagios XI logs for rename or upload actions in custom-includes by admin accounts.
  • Hunt for unexpected outbound connections or child processes spawned by the Nagios XI web server.
  • Correlate admin logins with subsequent file writes or code execution events on the Nagios XI host.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-3277 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2021-25296Nagios XI Windows WMI Config Wizard OS Command InjectionNagios XI 5.7.5 fails to sanitize authenticated user input in the windowswmi config wizard file, allowing OS command injection. Because the affected …KEVEPSS 72%analysed8.8CVE-2021-25297Nagios XI switch config wizard OS command injectionNagios XI 5.7.5 fails to sanitize authenticated user input in the switch configuration wizard file switch.inc.php, allowing OS command injection via …KEVEPSS 57%analysed8.8CVE-2021-25298Nagios XI cloud-vm config wizard OS command injectionNagios XI 5.7.5 fails to properly sanitize authenticated user input in /usr/local/nagiosxi/html/includes/configwizards/cloud-vm/cloud-vm.inc.php, all…KEVEPSS 75%analysed8.8CVE-2019-15949Nagios XI getprofile.sh command injection allows root code executionNagios XI before 5.6.6 runs the getprofile.sh script as root through a passwordless sudo entry when a system profile is downloaded. Because that scri…KEVEPSS 77%analysed9.8CVE-2024-24401Nagios XI monitoringwizard.php SQL injection allows remote code executionNagios XI 2024R1.01 contains a SQL injection flaw in the monitoringwizard.php component. A remote attacker can send a crafted payload that leads to a…EPSS 46%analysed9.8CVE-2024-24402Nagios xi improper privilege management vulnerabilityAn issue in Nagios XI 2024R1.01 allows a remote attacker to escalate privileges via a crafted script to the /usr/local/nagios/bin/npcd component.EPSS 3.4%9.8CVE-2023-48085Nagios XI command_test.php remote code executionNagios XI before 5.11.3 contains a remote code execution flaw in the command_test.php component, classified as code injection (CWE-94). The CVSS 3.1 …EPSS 76%analysed9.8CVE-2023-48084Nagios xi sql injection vulnerabilityNagios XI before version 5.11.3 was discovered to contain a SQL injection vulnerability via the bulk modification tool.EPSS 34%

Source: NIST National Vulnerability Database (record CVE-2021-3277), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.