
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-48548 is a Cross-Site Request Forgery (CSRF) vulnerability in Nagios Core's cmd.cgi component where the CSRF protection mechanism incorrectly passes validation when the NagFormId cookie is absent. This flaw affects all versions of Nagios Core before 4.5.12 and allows unauthenticated attackers to craft malicious cross-site POST requests that execute arbitrary Nagios commands on behalf of an authenticated user. The vulnerability was published on August 26, 2026, with a patch released in version 4.5.12 on March 25, 2026. It 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), stemming from a logic flaw in the CSRF token validation routine within cmd.cgi. Specifically, the protection mechanism is designed to validate the NagFormId cookie, but it incorrectly treats the absence of the cookie as a passing condition rather than a failure — effectively bypassing the CSRF check entirely. An attacker can exploit this by hosting a malicious web page containing a crafted HTML form that submits a POST request to the victim's Nagios instance; when an authenticated Nagios user visits the attacker-controlled page, the browser automatically includes session cookies, and the absent NagFormId cookie causes the CSRF check to pass. No special privileges or prior authentication are required of the attacker — only that the victim is currently logged into Nagios (GitHub Advisory, Nagios Changelog).
Successful exploitation allows an unauthenticated attacker to execute arbitrary Nagios commands with the full privileges of the authenticated victim user, resulting in a high integrity impact. Attackers could abuse this to disable monitoring checks, acknowledge alerts, schedule downtime, or submit external commands — effectively manipulating the monitoring infrastructure without the victim's knowledge or consent. Confidentiality and availability are not directly impacted by this vulnerability, but tampering with monitoring commands could mask ongoing attacks or infrastructure failures (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit or evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.139%, placing it in the 4th percentile for exploitation likelihood within 30 days (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and NVD's SSVC assessment classifies exploitation as "none" and the attack as non-automatable. No threat actor attribution has been reported.
cmd.cgi endpoint (e.g., https://nagios.target.com/nagios/cgi-bin/cmd.cgi) with desired Nagios command parameters (e.g., disabling host checks or submitting external commands).NagFormId cookie — since the CSRF validation logic passes when this cookie is absent, no valid token is needed.cmd.cgi from unexpected referrer origins or with no Referer header; commands submitted at unusual times or outside normal administrative hours./nagios/cgi-bin/cmd.cgi originating from sessions where the NagFormId cookie is absent in the request headers.The primary remediation is to upgrade Nagios Core to version 4.5.12 or later, which fixes the CSRF cookie validation logic in cmd.cgi (Nagios Changelog, GitHub Advisory). Note that version 4.5.13 and 4.5.14 include additional CSRF and security fixes and are preferred upgrade targets. As interim workarounds: restrict access to the Nagios web interface to trusted internal networks only; enforce SameSite=Strict or SameSite=Lax cookie policies at the web server level to mitigate cross-origin request risks; and educate Nagios administrators to avoid clicking untrusted links while authenticated to Nagios (Feedly).
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."