CVE-2026-119742Nagios XI < 2026R2 OS Command Injection via mibs.php
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | nagios4 | Fix pending | UBUNTU-CVE-2026-119742 | |
| Ubuntu 26.04 | nagios4 | Under investigation | UBUNTU-CVE-2026-119742 | |
| Ubuntu 24.04 | nagios4 | Under investigation | UBUNTU-CVE-2026-119742 | |
| Ubuntu 22.04 | nagios4 | Under investigation | UBUNTU-CVE-2026-119742 | |
| Ubuntu 20.04 | nagios4 | Fix pending | UBUNTU-CVE-2026-119742 | |
| Ubuntu 18.04 | icinga | Fix pending | UBUNTU-CVE-2026-119742 | |
| Ubuntu 18.04 | nagios3 | Fix pending | UBUNTU-CVE-2026-119742 | |
| Ubuntu 16.04 | icinga | Fix pending | UBUNTU-CVE-2026-119742 | |
| Ubuntu 16.04 | nagios3 | Fix pending | UBUNTU-CVE-2026-119742 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Nagios Enterprises, LLC Nagios XI: affected: before 2026R2; fixed in
2026R2
Vendor advisories:
- https://www.nagios.com/security-disclosures/nagios-xi/2026r2/ (patch, release-notes)
References
- https://www.nagios.com/security-disclosures/nagios-xi/2026r2/
- https://www.vulncheck.com/advisories/nagios-xi-2026r2-os-command-injection-via-mibs-php
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.