CVE-2025-34288 Nagios XI Privilege Escalation via Writable PHP Include Executed with Sudo
Local attackers can escalate privileges to root by modifying a writable PHP file included by a sudo-executed maintenance script in Nagios XI.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34288?
CVE-2025-34288 is a high-severity vulnerability in Nagios Nagios Xi, published on 16 Dec 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-732
Which versions are affected by CVE-2025-34288?
It affects 1 product.
Products include Nagios Nagios Xi.
How do I fix CVE-2025-34288?
No fix has been published for CVE-2025-34288 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-34288 being exploited?
There is no known exploitation of CVE-2025-34288 in the wild and no public exploit code.
Other vulnerabilities in Nagios Nagios Xi
Sources
Also known as GHSA-2488-c4gj-6g77.