CVE-2026-2042 Nagios Host monitoringwizard Command Injection Remote Code Execution Vulnerability

High 7.2 Published Updated

Remote attackers with authentication can execute arbitrary code via command injection in the Nagios Host monitoringwizard module.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2042?

CVE-2026-2042 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 20 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Nagios Host monitoringwizard Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Nagios Host. Authentication is required to exploit this vulnerability.

The specific flaw exists within the monitoringwizard module. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28245.

Weakness: CWE-78

Which versions are affected by CVE-2026-2042?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2026-2042?

No fix has been published for CVE-2026-2042 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-2042 being exploited?

There is no known exploitation of CVE-2026-2042 in the wild and no public exploit code.

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-rwr9-9r33-h7x4.

Is CVE-2026-2042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free