CVE-2025-34134
Nagios XI vulnerability analysis and mitigation

Overview

CVE-2025-34134 is a remote code execution (RCE) vulnerability in the Business Process Intelligence (BPI) component of Nagios XI, affecting all versions prior to 2024R1.4.2. The flaw stems from insufficient validation and sanitization of administrator-controlled BPI configuration parameters (bpi_logfile and bpi_configfile), enabling an authenticated administrative user to create or overwrite files in the webroot and execute arbitrary code. It was published on October 30, 2025, with a patch released in version 2024R1.4.2. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) and a CVSS v4.0 base score of 9.4 (Critical) (Nagios Security, VulnCheck Advisory).

Technical details

The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command / OS Command Injection). An authenticated administrator can manipulate the bpi_logfile and bpi_configfile configuration parameters in the BPI component to specify arbitrary file paths within the webroot. The attacker can then use the BPI configuration editor to write attacker-controlled content into those files; if the files have executable extensions (e.g., .php), the web server will execute them when requested, resulting in arbitrary code execution under the web application user's privileges. The attack vector is network-based, requires no user interaction, but does require high (administrative) privileges (VulnCheck Advisory, Nagios Security).

Impact

Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the Nagios XI web application user, which can be leveraged to gain further control of the underlying host operating system. An attacker can create or overwrite files in the webroot, deploy web shells, exfiltrate sensitive monitoring data (including credentials and network topology), and potentially pivot to other systems monitored by Nagios XI. The full confidentiality, integrity, and availability of the Nagios XI instance and potentially the broader network infrastructure are at risk (VulnCheck Advisory).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (VulnCheck Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.319%, indicating a low current probability of exploitation in the near term. Exploitation requires authenticated administrative access, which limits the attack surface but does not eliminate risk in environments with weak credential hygiene or compromised admin accounts.

Exploitation steps

  1. Reconnaissance: Identify internet-facing or network-accessible Nagios XI instances running versions prior to 2024R1.4.2 using tools like Shodan or Censys, or through internal network scanning.
  2. Obtain Administrative Credentials: Authenticate to the Nagios XI web interface using valid administrative credentials (obtained via phishing, credential stuffing, or other means).
  3. Navigate to BPI Configuration: Access the Business Process Intelligence (BPI) component configuration editor within the Nagios XI admin panel.
  4. Manipulate Configuration Parameters: Modify the bpi_logfile or bpi_configfile parameters to point to a file path within the webroot with an executable extension (e.g., /usr/local/nagiosxi/html/shell.php).
  5. Write Malicious Content: Use the BPI configuration editor to write attacker-controlled content (e.g., a PHP web shell such as <?php system($_GET['cmd']); ?>) into the targeted file.
  6. Trigger Code Execution: Request the newly created file via the web server (e.g., http://<target>/nagiosxi/shell.php?cmd=id) to execute arbitrary OS commands as the Nagios XI web application user.
  7. Escalate and Persist: Use the web shell to establish a reverse shell, escalate privileges, or move laterally within the network (VulnCheck Advisory).

Indicators of compromise

  • Network: Unusual HTTP GET/POST requests to unexpected .php files in the Nagios XI webroot (e.g., /nagiosxi/*.php files not part of the standard installation); outbound connections from the Nagios XI server to unknown external IPs.
  • File System: Presence of new or modified PHP files in the Nagios XI webroot directory (e.g., /usr/local/nagiosxi/html/) that are not part of the standard installation; unexpected changes to BPI log or config file paths.
  • Logs: Nagios XI web access logs showing requests to newly created PHP files; BPI configuration change logs reflecting modifications to bpi_logfile or bpi_configfile parameters pointing to webroot paths with executable extensions.
  • Process: Unusual child processes spawned by the web server process (e.g., Apache/Nginx spawning /bin/bash, curl, wget, or python); unexpected cron jobs or scheduled tasks created under the web application user account.

Mitigation and workarounds

Nagios has released version 2024R1.4.2, which resolves the vulnerability by improving input validation and sanitization of BPI configuration parameters; all users should upgrade immediately (Nagios Security, Nagios Changelog). As interim mitigations, organizations should restrict administrative access to Nagios XI to trusted personnel only, enforce strong authentication (including MFA where possible), and use network segmentation to limit exposure of the Nagios XI interface. Regularly auditing administrative user permissions and monitoring for unexpected file creation in the webroot are also recommended defensive measures.

Community reactions

The vulnerability was covered by Heise Online, which reported on security vulnerabilities in monitoring software including Nagios XI (Heise Online). BeyondMachines also noted the patching of critical security vulnerabilities in Nagios XI (BeyondMachines). The CVE was assigned by VulnCheck and has been tracked across standard vulnerability aggregation platforms without significant broader community controversy.

Additional resources


SourceThis report was generated using AI

Related Nagios XI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48554HIGH7.7
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48553HIGH7.7
  • Nagios logoNagios
  • cpe:2.3:a:nagios:nagios_xi
NoNoAug 12, 2026
CVE-2026-48551MEDIUM6.1
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48552MEDIUM5.1
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48550MEDIUM5.1
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management