Root command execution via replaceable sudo scripts
Published Nov 17, 2025 · Updated Nov 17, 2025
Local privilege escalation in Nagios Log Server before 2026R1.0.1 allows local users acting as www-data to execute commands as root. The /usr/local/nagioslogserver/scripts directory is writable by the nagios group, while sudo permits www-data to run root-owned scripts there without a password. Control of the www-data account is required; replacing an allowed script and invoking its original path through sudo yields arbitrary root command execution.
Summary
What happened
Local privilege escalation in Nagios Log Server before 2026R1.0.1 allows local users acting as www-data to execute commands as root. The /usr/local/nagioslogserver/scripts directory is writable by the nagios group, while sudo permits www-data to run root-owned scripts there without a password. Control of the www-data account is required; replacing an allowed script and invoking its original path through sudo yields arbitrary root command execution.
The record
- CVE
- CVE-2025-34323
- Published
- Nov 17, 2025
- Updated
- Nov 17, 2025
- Vendor
- Nagios Enterprises, LLC
- Product
- Nagios Log Server
- Classifications
- CWE-732, CAPEC-122, T1548.003
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 17, 2025CVE publishedPublication date reported by the CVE source.
- Nov 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2026R1.0.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Nagios Log Server root_exploit.py proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo