Nagios Log Server
CVE-2025-34274
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-facing Logstash input
-
ExploitExploit plugin/pipeline/input-parsing flaw
-
ExecutionCode executes as root (unnecessary privilege)
-
ImpactFull host/system compromise
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
|
| Exploitation Conditions | Exploitation is NOT directly standalone: it requires an attacker to first gain code execution inside the embedded Logstash process on an unpatched Nagios Log Server (version prior to 2024R2.0.3). The description names the concrete vectors for that precondition - an insecure Logstash plugin, injection into the pipeline configuration, or a vulnerability in Logstash input parsing of untrusted data. The specific weakness here is that Logstash is configured to run as the root user, so once Logstash is compromised the attacker inherits root. LIMITING FACTORS: a separate exploitable flaw or malicious plugin/pipeline-config in the Logstash stack is required (so this is a chained/amplification issue, not a one-shot RCE), the Logstash input must be reachable and accepting untrusted data, and the instance must be running an affected version before the 2024R2.0.3 fix that reassigns the service to the 'nagios' account. |
| Impact | The published CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H, 9.3 Critical) portrays this as a directly network-reachable, unauthenticated, trivially exploitable flaw with full confidentiality, integrity and availability loss. However, this signal conflicts with the CWE-250 (Execution with Unnecessary Privileges) classification and the description itself, which frames the issue as a privilege-amplification/defense-in-depth weakness: the embedded Logstash process runs as root, so the root-level impact is only realized IF an attacker first compromises Logstash via a separate flaw (insecure plugin, pipeline configuration injection, or an input-parsing vulnerability). In other words, this is not independently exploitable - it is a severity multiplier for some other bug, which makes AC:L and the standalone Critical rating optimistic; a more honest independent assessment raises attack complexity because successful exploitation is contingent on chaining. On the lower-urgency side: there is NO CISA KEV listing, NO public exploit code identified, and no EPSS score was provided, so there is no evidence of active or imminent exploitation. Net: treat as a legitimate hardening priority for exposed Nagios Log Server instances (because it converts any Logstash compromise into full root/system compromise), but it is not a drop-everything mass-exploitation event like a direct unauthenticated RCE. Note explicitly: the CVSS vector implies direct network exploitation while the description implies a required precondition (prior Logstash compromise) - verify the real attack surface with the vendor advisory before prioritizing as a standalone Critical. |
| Exploit ScenarioDerived | An attacker reaches the network-facing Logstash service of an unpatched Nagios Log Server and exploits a weakness in a Logstash input, a third-party plugin, or an injected pipeline configuration to achieve code execution within the Logstash process. Because Logstash runs as the root user on affected versions, that code executes with root privileges, yielding full compromise of the host. No public proof-of-concept or exploit code has been identified for this specific issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Root-level system compromise on Nagios Log Server instances running versions prior to 2024R2.0.3 stems from the product's embedded Logstash process being configured to run as the root user, so any attacker who first obtains code execution inside Logstash - via an insecure third-party plugin, injection into the pipeline configuration, or a vulnerability in Logstash input parsing - inherits full root privileges on the host. The published CVSS 4.0 vector (9.3 Critical, AV:N/AC:L/PR:N/UI:N with high confidentiality, integrity and availability impact) frames this as a directly network-reachable, unauthenticated and trivially exploitable flaw; however, the underlying CWE-250 (Execution with Unnecessary Privileges) is an amplification weakness rather than a standalone remote code execution bug, because a separate exploitable Logstash flaw or malicious plugin/pipeline component is a hard precondition. Consistent with that, an independent assessment rates the issue under CVSS 3.1 as AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, with unauthenticated network reach but high attack complexity due to the required chaining. No public exploit code has been identified at time of analysis and the CVE is not listed in CISA KEV, so there is no confirmed active exploitation.
RemediationAI
Vendor-released patch: 2024R2.0.3 - upgrading Nagios Log Server to 2024R2.0.3 or later is the primary and recommended fix, since that release changes the embedded Logstash service to run under the lower-privileged 'nagios' user, converting any future Logstash compromise into a contained non-root event; consult the Nagios changelog (https://www.nagios.com/changelog/#log-server), the vendor security advisory (https://www.nagios.com/products/security/#log-server-2024R2) and the VulnCheck advisory (https://www.vulncheck.com/advisories/nagios-log-server-logstash-process-root-privileges) for the exact upgrade procedure. Until the upgrade can be applied, the highest-value compensating control is to manually reconfigure the Logstash service to run as an unprivileged account (for example by adjusting the service unit/init script and the ownership of Logstash data, log and pipeline directories, then restarting the service) - the trade-off is that permission mismatches on existing data/log paths can cause Logstash to fail to start or to lose the ability to write pipeline state until ownership is corrected. Equally important, reduce the ability to reach Logstash inputs from untrusted networks by firewalling or binding input listeners to management/collector networks only, accepting that log sources outside those ranges will stop being ingested. Additionally, remove or pin third-party Logstash plugins and audit pipeline and filter configurations so that untrusted or externally supplied pipeline definitions - especially Ruby filters and configs writable by non-admin users - cannot be injected; this reduces the precondition for exploitation but does not by itself eliminate the root-privilege exposure if Logstash is still running as root. Because exploitation here is chained, the patch alone should be treated as the definitive fix, with the above measures providing interim risk reduction only.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nagios Log Server bundles an embedded Logstash instance - the JVM-based, plugin-driven log ingestion and pipeline engine from the Elastic ecosystem - to receive, parse and route log data on behalf of the monitoring platform. Root cause here is classified as CWE-250, Execution with Unnecessary Privileges: the Logstash service was launched under the root account even though it is a network-facing component that ingests untrusted input and loads third-party plugin code. Because Logstash's plugin model, pipeline definitions and input parsers all execute attacker-influenced content inside the same process context, any code-execution foothold in that process (a vulnerable or malicious plugin, an injected pipeline stanza such as a Ruby filter, or a parser memory-safety/deserialization flaw in an input handler) escalates immediately to root on the underlying host rather than being contained to a low-privilege service account. The affected product set is identified through CPE entries for nagios:log_server, covering the version wildcard plus the 2024 R1 line (2024:r1, r1.0.1, r1.0.2, r1.1, r1.2, r1.3, r1.3.1, r1.3.2 and r1.3.3), all released before the 2024R2.0.3 fix. The remediation in 2024R2.0.3 is architectural rather than a code patch to a single parser: the Logstash service was reassigned to run as the unprivileged 'nagios' account, so a Logstash compromise is contained to that account's rights and does not grant root.
Know when Nagios gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable Logstash with no auth (AV:N/PR:N), but root impact is realized only by chaining a separate Logstash compromise, so AC:H; full root yields C:H/I:H/A:H.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
Nagios Log Server versions prior to 2024R2.0.3 contain an execution with unnecessary privileges vulnerability as it runs its embedded Logstash process as the root user. If an attacker is able to compromise the Logstash process - for example by exploiting an insecure plugin, pipeline configuration injection, or a vulnerability in input parsing - the attacker could execute code with root privileges, resulting in full system compromise. The Logstash service has been altered to run as the lower-privileged 'nagios' user to reduce this risk associated with a network-facing service that can accept untrusted input or load third-party components.
Executive ViewAI
Nagios Log Server deployments running releases earlier than 2024R2.0.3 inherit a privilege-separation flaw in which the embedded Logstash process runs as root, meaning that any compromise of that component escalates directly to full control of the underlying host. Because these platforms aggregate authentication, network, and application logs from across the environment, a host takeover could expose sensitive operational data and give an intruder a durable foothold for lateral movement. Exploitation is conditional rather than self-contained - no public exploit identified at time of analysis - and requires a separate Logstash-level flaw or a malicious plugin/pipeline component to be present first, so leadership should treat this as an elevated-but-gated risk requiring urgent configuration discipline rather than an imminent breach.
No vendor-released patch identified at time of analysis. Interim mitigations: run the embedded Logstash process under a dedicated unprivileged service account instead of root; restrict network access to Logstash listener and API ports to trusted management hosts; disable, remove, or strictly allowlist third-party Logstash plugins; lock down write access to pipeline configuration files; segment Nagios Log Server hosts away from general corporate networks; and monitor for suspicious plugin installations or root-level process activity. Upgrading to release 2024R2.0.3 or later is the referenced remediation boundary.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core before 3.4.4, and Icinga
Incomplete blacklist vulnerability in nrpc.c in Nagios Remote Plug-In Executor (NRPE) before 2.14 might allow remote att
Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS). Rated medium severity (CVSS 6.1), this vulnerabili
Multiple off-by-one errors in Nagios Core 3.5.1, 4.0.2, and earlier, and Icinga before 1.8.5, 1.9 before 1.9.4, and 1.10
MagpieRSS, as used in the front-end component in Nagios Core before 4.2.2 might allow remote attackers to read or write
Snoopy 1.0 in Nagios XI 5.5.6 allows remote unauthenticated attackers to execute arbitrary commands via a crafted HTTP r
SQL injection vulnerability in the core config manager in Nagios XI 5.2.x through 5.4.x before 5.4.13 allows an attacker
Authentication bypass vulnerability in the core config manager in Nagios XI 5.2.x through 5.4.x before 5.4.13 allows an
A path traversal vulnerability exists in Nagios XI below version 5.8.5 AutoDiscovery component and could lead to post au
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB