
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-48549 is a Cross-Site Request Forgery (CSRF) vulnerability in the cmd.cgi component of Nagios Core and Nagios XI. The flaw allows an attacker to bypass the double-submit cookie CSRF protection by supplying matching NagFormId and nagFormId values in the POST body when no Cookie header is present, enabling cross-site requests to execute Nagios commands as an authenticated user. Affected versions include Nagios Core before 4.5.13 and Nagios XI before 2026R1.5. The vulnerability was published on August 26, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 6.9 (Medium) (Github Advisory, Feedly).
The root cause is classified as CWE-352 (Cross-Site Request Forgery). Nagios Core and XI implement a double-submit cookie pattern in cmd.cgi to protect against CSRF; however, when no Cookie header is present in the request, the protection logic fails to properly validate the token. An attacker can craft a malicious web page that submits a POST request to cmd.cgi with matching NagFormId and nagFormId values in the POST body, bypassing the CSRF check entirely. This attack requires no privileges on the Nagios instance itself but does require user interaction — specifically, an authenticated Nagios user must visit the attacker-controlled page. The fix in version 4.5.13 introduced a cgi_cookie_fail_open configuration option and corrected the CSRF cookie validation logic in cmd.cgi (Github Advisory, Nagios Changelog).
Successful exploitation allows an unauthenticated attacker to execute arbitrary Nagios commands with the privileges of the tricked authenticated user, including modifying monitoring configurations, disabling alerts, silencing notifications, or managing service checks. The primary impact is to integrity — an attacker can tamper with the monitoring infrastructure, potentially masking ongoing attacks or disrupting operational visibility. Confidentiality and availability of the Nagios system itself are not directly impacted by this vulnerability (Github Advisory, Feedly).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.168% (6th percentile), indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. NVD's SSVC assessment notes the vulnerability is automatable but exploitation is currently assessed as "none" (Github Advisory).
cmd.cgi endpoint (e.g., https://nagios.target.com/nagios/cgi-bin/cmd.cgi).NagFormId and nagFormId parameter values (any consistent string). Because no Cookie header is sent in a cross-origin POST from the attacker's page, the double-submit cookie check is bypassed.cmd_typ, cmd_mod, target host/service fields) to disable notifications, acknowledge alerts, or modify check configurations./nagios/cgi-bin/cmd.cgi or equivalent CGI path originating from unusual referrer domains or with no Referer header; cross-origin requests lacking a Cookie header.cmd.cgi with NagFormId and nagFormId parameters present in the body but no corresponding session cookie; commands executed by authenticated users at unusual times or from unexpected IP addresses.Upgrade Nagios Core to version 4.5.13 or later, and Nagios XI to version 2026R1.5 or later, which contain fixes for the CSRF cookie validation logic in cmd.cgi (Nagios Changelog, Github Advisory). As an additional hardening measure, enforce strict SameSite=Strict or SameSite=Lax cookie policies on Nagios session cookies to prevent cross-origin requests from carrying session context. Restrict access to the Nagios web interface to trusted networks or VPN, reducing the attack surface for social engineering-based CSRF exploitation. The cgi_cookie_fail_open configuration option introduced in 4.5.13 can be used to control behavior for third-party integrations that interact with cmd.cgi without cookies (Nagios Changelog).
The vulnerability was assigned and disclosed by VulnCheck, which published a dedicated advisory (Feedly). Nagios Enterprises acknowledged the issue via their security disclosures page. The fix was credited to researcher SeungMyung Lee in the Nagios Core 4.5.13 changelog (Nagios Changelog). No significant broader community or media discussion has been identified at this time.
Fix availability across major Linux distributions and their releases.
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."