
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. It carries a CVSS v3.1 score of 6.5 (Medium) and a CVSS v4.0 score of 6.9 (Medium) (Github Advisory, Feedly).
The root cause is CWE-352 (Cross-Site Request Forgery), specifically a flawed implementation of the double-submit cookie pattern in cmd.cgi. The protection mechanism relies on matching a cookie value against a form field value, but when no Cookie header is sent with the request, the server-side check can be satisfied entirely by supplying identical NagFormId and nagFormId values in the POST body — effectively bypassing the anti-CSRF control. Exploitation requires no privileges on the attacker's part but does require active user interaction: the victim must be authenticated to Nagios and visit a malicious page or click a crafted link. The vulnerability was credited to researcher SeungMyung Lee and was patched in Nagios Core 4.5.13 (Nagios Changelog, VulnCheck Advisory).
Successful exploitation allows an unauthenticated attacker to trick an authenticated Nagios user into unknowingly submitting arbitrary Nagios commands, including modifying monitoring configurations, disabling alerts, silencing notifications, or managing service checks. The primary impact is to integrity — an attacker can manipulate the monitoring environment, potentially masking ongoing attacks or disrupting operational visibility. Confidentiality and availability are not directly impacted by this vulnerability (Github Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.168%, placing it in the 6th percentile for exploitation likelihood within 30 days (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
cmd.cgi endpoint (e.g., https://nagios.target.com/nagios/cgi-bin/cmd.cgi) with a POST request.NagFormId and nagFormId POST body fields with identical arbitrary values. Because no Cookie header is sent in a cross-origin request under certain browser/server configurations, the server's double-submit cookie check is satisfied by the matching POST body values alone.cmd_typ, cmd_mod, target host/service fields) to disable notifications, acknowledge alerts, or alter monitoring configurations.cmd.cgi from unexpected referrer origins or with no Referer header; requests where NagFormId and nagFormId POST parameters are present but no corresponding Cookie header is logged.DISABLE_NOTIFICATIONS, ACKNOWLEDGE_HOST_PROBLEM, DISABLE_SVC_CHECK) attributed to legitimate user accounts at unusual times./nagios/cgi-bin/cmd.cgi originating from external or untrusted domains visible in proxy or WAF logs.Upgrade Nagios Core to version 4.5.13 or later, and Nagios XI to version 2026R1.5 or later, which include fixes for the CSRF cookie validation logic in cmd.cgi (Nagios Changelog, Nagios Security). As a configuration-level workaround, enforce strict SameSite=Strict or SameSite=Lax cookie policies and ensure Cookie headers are required for all cmd.cgi requests. Additionally, restrict access to the Nagios web interface to trusted networks or VPN-only access to reduce the attack surface (VulnCheck 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."