Nagios XI: OS command injection in MIB upload feature (CVE-2026-119742)
Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature, allowing an authenticated administrator to execute arbitrary commands via crafted filenames containing shell metacharacters.
CVE search metadata
CVE search record: CVE-2026-119742. Severity: high. CVSS: 7.2. KEV: no. Product: Nagios XI (< 2026R2). Brief: Nagios XI: OS command injection in MIB upload feature (CVE-2026-119742). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nagios-xi-mib-injection/
Triage facts
Revision 1- Applicability
- Nagios XI (< 2026R2)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 3, 18:02 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Nagios XI versions prior to 2026R2 are susceptible to OS command injection via the MIB upload functionality. The vulnerability exists within the install_mib() function in mibs.php, which fails to adequately sanitize uploaded filenames. Specifically, the character-substitution filter omits semicolons, pipes, and non-space IFS (Internal Field Separator) whitespace characters before passing the filename to a grep command executed via the system exec() function. An authenticated administrator can bypass this filter by utilizing tab characters within a multipart POST request to mibs.php, leading to command execution under the context of the web server user.
Impact
Successful exploitation allows an authenticated administrator to execute arbitrary OS commands as the web server user, potentially leading to full system compromise of the Nagios XI server.
Recommendation
- Upgrade Nagios XI to version 2026R2 or later immediately to patch the vulnerable install_mib() function.
- Review administrative account activity for unauthorized access or suspicious changes to MIB configurations.
- Restrict access to the MIB upload feature to only highly trusted administrative users until the patch is applied.
Immediate actions
Patch Nagios XI to version 2026R2 or later
Threat Hunt
Inspect web server logs for POST requests to mibs.php containing shell metacharacters
Data: webserver access logs
Mitigations
Upgrade to 2026R2
CVE-2026-119742
Detection coverage 1
Detect CVE-2026-119742 Exploitation - Command Injection via MIB Upload
highDetects attempts to exploit CVE-2026-119742 by monitoring for shell metacharacters in POST requests to the mibs.php file.
Detection queries are available on the platform. Get full rules →