Description
Nagios XI versions prior to 2026R1.1 are vulnerable to local privilege escalation due to an unsafe interaction between sudo permissions and application file permissions. A user‑accessible maintenance script may be executed as root via sudo and includes an application file that is writable by a lower‑privileged user. A local attacker with access to the application account can modify this file to introduce malicious code, which is then executed with elevated privileges when the script is run. Successful exploitation results in arbitrary code execution as the root user.
Problem types
CWE-732 Incorrect Permission Assignment for Critical Resource
Product status
Any version before 2026R1.1
Credits
M. Cory Billington of theyhack.me
References
www.nagios.com/changelog/nagios-xi/2026r1-1/
www.vulncheck.com/...writable-php-include-executed-with-sudo
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.