Skip to content

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

HighCVSS 8.6 EPSS 4.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPUbuntu

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/nagios4(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/nagios4(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/nagios4(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/nagios4(Ubuntu 26.10) All versions No fix listed No fix yet
Nagios Enterprises, LLC. Nagios XI < 2026R2 2026R2 Fixed

Affected products

ProductAffected versionsFixed in
Nagios Enterprises, LLC. Nagios XI < 2026R2 2026R2
ubuntu/nagios4(Ubuntu:22.04) All versions No fix listed
ubuntu/nagios4(Ubuntu:24.04) All versions No fix listed
ubuntu/nagios4(Ubuntu:26.04) All versions No fix listed
ubuntu/nagios4(Ubuntu:26.10) All versions No fix listed

References