CVE-2026-119742

Nagios XI < 2026R2 OS Command Injection via mibs.php

Published Nov 3, 2026 CVSS 4.0 · 8.6 High EPSS 4.1% KEV · Not listed
Description
Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitizes uploaded filenames with an incomplete character-substitution filter that omits semicolons, pipes, and non-space IFS whitespace characters before passing them to a grep command run via exec(). An authenticated administrator can upload a MIB file with a crafted filename using tab characters to bypass the deny-list and pipe to sh via a multipart POST request to mibs.php, resulting in arbitrary OS command execution as the web server user.

Analysis

AI-generated

Technical impact

Nagios XI versions earlier than 2026R2 are susceptible to an OS command injection flaw in the MIB upload function. The install_mib() routine sanitizes file names with a filter that excludes semicolons, pipes, and certain IFS whitespace characters but leaves tab characters through. The sanitized name is then supplied to a grep call executed via exec(), allowing a crafted filename containing a tab to bypass the filter and pipe an arbitrary shell command to sh through a multipart POST to mibs.php. An authenticated administrator can leverage this path to run arbitrary OS commands as the web server process, potentially compromising confidentiality, integrity, and availability of the host.

Affected Systems

Nagios Enterprises, LLC provides Nagios XI, and all installations of Nagios XI versions older than 2026R2 are vulnerable. No further version granularity is specified.

Risk and Exploitability

The CVSS score of 8.6 signifies high severity, and the EPSS score is 4%, indicating a moderate probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is administrative access: an attacker who can authenticate as an administrator can upload a malicious MIB file and execute arbitrary OS commands. The risk is significant in environments where administrative credentials are weak or exposed, and the impact is potentially system‑wide.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nagios XI to version 2026R2 or later to eliminate the vulnerable code.
  • If an upgrade is not possible, limit access to the mibs.php endpoint to trusted administrators and disable the MIB upload feature if it is not required.
  • Enforce strong, multi‑factor authentication for all administrative accounts to reduce the likelihood of credential compromise.

Generated by OpenCVE AI on November 4, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nagios
Nagios nagios Xi
Vendors & Products Nagios
Nagios nagios Xi
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitizes uploaded filenames with an incomplete character deny-list that omits semicolons and pipes before passing them to a grep command executed via exec(). An authenticated administrator can upload a MIB file with a crafted filename using tab characters to bypass the deny-list and pipe to sh via a multipart POST request to mibs.php, resulting in arbitrary OS command execution as the web server user. Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitizes uploaded filenames with an incomplete character-substitution filter that omits semicolons, pipes, and non-space IFS whitespace characters before passing them to a grep command run via exec(). An authenticated administrator can upload a MIB file with a crafted filename using tab characters to bypass the deny-list and pipe to sh via a multipart POST request to mibs.php, resulting in arbitrary OS command execution as the web server user.
Type Values Removed Values Added
Description Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitizes uploaded filenames with an incomplete character deny-list that omits semicolons and pipes before passing them to a grep command executed via exec(). An authenticated administrator can upload a MIB file with a crafted filename using tab characters to bypass the deny-list and pipe to sh via a multipart POST request to mibs.php, resulting in arbitrary OS command execution as the web server user.
Title Nagios XI < 2026R2 OS Command Injection via mibs.php
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 4:00 PM
Reserved
Oct 30, 2026, 3:31 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 2:17 PM
Modified
Nov 3, 2026, 4:25 PM