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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nagios Enterprises | Nagios XI | < 2026R2 | 2026R2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nagios4 | No fix yet | — |
| Ubuntu 26.04 LTS | nagios4 | No fix yet | — |
| Ubuntu 24.04 LTS | nagios4 | No fix yet | — |
| Ubuntu 22.04 LTS | nagios4 | No fix yet | — |
| Ubuntu 20.04 LTS | nagios4 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | icinga +1 | No fix yet | — |
| Ubuntu 16.04 LTS | icinga +1 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4323 Nagios Enterprises Nagios XI: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit Benutzerrechten BSI CERT-Bund (WID) · Nov 3, 2026
References
- Release Notes release-notes patch
- VulnCheck Advisory: Nagios XI < 2026R2 OS Command Injection via mibs.php third-party-advisory