
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-48553 is an authenticated remote code execution vulnerability in Nagios Core and Nagios XI caused by custom-variable macro injection through the Nagios Remote Data Processor (NRDP). It affects Nagios Core before version 4.5.13 and Nagios XI before version 2026R1.5. The vulnerability was published on August 12, 2026, and patches were made available the same day. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 7.7 (High) (GitHub Advisory, Feedly).
The root cause is improper neutralization of special elements used in OS commands (CWE-78). When a custom variable defined on a host, service, or contact object is referenced in a shell-executed command line, Nagios fails to sanitize the macro value before passing it to the shell. An authenticated attacker with NRDP access can inject arbitrary OS commands by manipulating the custom variable value. Exploitation requires a non-default configuration where a custom variable is both defined and referenced in a shell-executed command, making the attack surface conditional but realistic in many production deployments. The fix in Nagios Core 4.5.13 added missing sanitization for custom variables (GitHub Advisory, Nagios Changelog).
Successful exploitation allows an authenticated attacker with NRDP access to execute arbitrary OS commands on the Nagios server with the privileges of the Nagios process. This results in full compromise of confidentiality, integrity, and availability of the affected system, including potential access to monitored infrastructure credentials, configuration data, and the ability to pivot to other systems reachable from the Nagios host (GitHub Advisory, Feedly).
As of the disclosure date, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation. The NVD SSVC assessment confirms exploitation is currently "none" and the vulnerability is not automatable. The EPSS score is approximately 0.52%, placing it in the 42nd percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for authenticated NRDP access and a non-default configuration involving custom variables in shell-executed commands (GitHub Advisory, Feedly).
/nrdp/ on the Nagios web interface._MYVAR) referenced in shell-executed command definitions.; id > /tmp/pwned; or a reverse shell command).$_HOSTMYVAR$), causing the injected OS command to execute on the server./nrdp/) with anomalous payload content in web server access logs.;, |, $(), backticks) within custom variable macro expansions; NRDP access logs with submissions containing injection strings./bin/bash, curl, wget, nc, python) with unusual arguments; new cron jobs or scheduled tasks created under the Nagios service account./tmp/) by the Nagios process; new or modified scripts in the Nagios installation directory; web shells or backdoors placed by the attacker.Upgrade Nagios Core to version 4.5.13 or later, or Nagios XI to version 2026R1.5 or later, which include sanitization fixes for custom variable macros. If immediate patching is not possible, restrict NRDP access to trusted IP addresses only using firewall rules or web server access controls. Additionally, audit all Nagios command definitions to identify and remove unnecessary references to custom variable macros in shell-executed commands, or replace shell execution with non-shell execution methods where feasible (Nagios Changelog, GitHub Advisory).
The vulnerability was credited to Gabriel "Texugo" Rodrigues in the Nagios Core 4.5.13 changelog, which notes the fix as "Fix vulnerabilities in custom variables and add missing sanitization." The disclosure was noted by automated security feeds including RedPacketSecurity on Mastodon and aggregated by VulnCheck, which published a dedicated advisory. Community reaction has been limited given the non-default configuration requirement and absence of public exploit code (Nagios Changelog, GitHub Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
nagios4: 4.4.6-4+deb12u2
sid
nagios4: 4.5.14+ds-1
trixie
nagios4: 4.4.6-4.1+deb13u2
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."