Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Non-default shell-macro configuration maps to AC:H in 3.1; PR:L for required authenticated UI access; S:U since execution stays within the nagios user context without escaping system boundaries.
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 are vulnerable to authenticated remote code execution via unfiltered NOTIFICATION-family macro substitution through the com_data parameter. When a notification command references $NOTIFICATIONCOMMENT$ or $NOTIFICATIONAUTHOR$ in a shell-reachable position, authenticated UI users can run arbitrary commands as the nagios user. Exploitation requires a non-default configuration in which a notification command references these macros in a shell-executed command line.
AnalysisAI
Remote code execution in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows authenticated UI users to run arbitrary OS commands as the nagios system user by injecting shell metacharacters through the com_data parameter when notification commands reference $NOTIFICATIONCOMMENT$ or $NOTIFICATIONAUTHOR$ macros in shell-executed positions. The vulnerability is classified as CWE-78 (OS Command Injection) and reported by VulnCheck; vendor-released patches are now available for both product lines. No public exploit identified at time of analysis, and exploitation is bounded by a non-default notification command configuration requirement reflected in the CVSS 4.0 AT:P metric.
Technical ContextAI
The root cause is CWE-78 (OS Command Injection): Nagios's notification subsystem performs macro substitution - replacing tokens like $NOTIFICATIONCOMMENT$ (user-supplied acknowledgment text) and $NOTIFICATIONAUTHOR$ (submitting username) into notification command strings before executing them via a shell interpreter. When an administrator configures a notification command that embeds these macros directly in a shell-executed command line (e.g., /bin/sh -c 'notify.sh "$NOTIFICATIONCOMMENT$"'), any user-controlled value in the macro position bypasses shell escaping, allowing injection of arbitrary shell metacharacters. The injection surface is the com_data POST parameter accepted by the Nagios UI. Affected products per CPE data: Nagios Core (cpe:2.3:a:nagios_enterprises,_llc.:nagios_core:*) all versions before 4.5.14, and Nagios XI (cpe:2.3:a:nagios_enterprises,_llc.:nagios_xi:*) all versions before 2026R1.7, both by Nagios Enterprises, LLC.
RemediationAI
Upgrade Nagios Core to version 4.5.14 or later and Nagios XI to version 2026R1.7 or later; the vendor advisory is at https://www.nagios.com/security-disclosures/nagios-core/ and the Nagios Core Changelog tracking the fix is at https://github.com/NagiosEnterprises/nagioscore/blob/master/Changelog. For organizations unable to patch immediately, audit all notification command definitions in nagios.cfg and associated configuration files and identify any commands that pass $NOTIFICATIONCOMMENT$ or $NOTIFICATIONAUTHOR$ directly into a shell-interpreted command line - remove these macro references from shell-executed positions or replace them with safer argument-passing patterns (e.g., exporting the value as an environment variable consumed by the script rather than interpolating it inline). Be aware that removing these macros from notification commands will suppress the corresponding dynamic content in alert messages and must be validated against operational alerting workflows before deployment. Additionally, restrict Nagios UI access to the minimum necessary set of trusted operators, reducing the authenticated attacker pool in the interim.
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
Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS). Rated medium severity (CVSS 6.1), this vulnerabili
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
Nagios XI before 5.6.6 allows remote command execution as root. Rated high severity (CVSS 8.8), this vulnerability is re
A privilege escalation vulnerability in Nagios XI 5.2.x through 5.4.x before 5.4.13 allows an attacker to leverage an RC
Remote command execution (RCE) vulnerability in Nagios XI 5.2.x through 5.4.x before 5.4.13 allows an attacker to execut
SQL injection vulnerability in functions/prepend_adm.php in Nagios Core Config Manager in Nagios XI before 2012R2.4 allo
Same weakness CWE-78 – OS Command Injection
View allVendor StatusVendor
SUSE
Severity: ImportantShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57346
GHSA-f3vr-3658-6fxw