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.
Published: 2026-11-03
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Remote OS Command Execution
Action: Immediate Patch
AI Analysis

Impact

Nagios XI prior to version 2026R2 is affected by an OS command injection vulnerability in the MIB upload feature. The install_mib() function sanitizes uploaded filenames with an incomplete deny‑list that omits semicolons and pipes, while the same filename is passed 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. This compromise can affect 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 currently unavailable, which does not diminish the risk. 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.

Generated by OpenCVE AI on November 3, 2026 at 14:20 UTC.

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 3, 2026 at 14:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 13:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-03T14:53:11.743Z

Reserved: 2026-10-30T15:31:52.079Z

Link: CVE-2026-119742

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-03T14:17:34.843

Modified: 2026-11-03T14:17:34.843

Link: CVE-2026-119742

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T14:30:08Z

Weaknesses
  • CWE-78

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