Skip to main content

Nagios Core/XI CVE-2026-48549

| EUVDEUVD-2026-66599 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-08-26 VulnCheck GHSA-xm5q-p2r5-r5wj
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify authenticated Nagios admin target
  2. Delivery
    Craft malicious page with matching NagFormId/nagFormId POST body
  3. Exploit
    Lure admin to trigger cross-site form submission
  4. Execution
    Request reaches cmd.cgi with no Cookie header
  5. Persist
    Double-submit CSRF check satisfied by matching body values
  6. Impact
    Nagios command executes as victim admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must be currently authenticated to the Nagios web interface in the same browser session at the time the cross-site request is triggered - exploitation depends entirely on the victim holding an active Nagios session. The attacker must be able to cause the victim's browser to submit a POST to cmd.cgi (e.g., via a malicious web page, phishing email, or injected content). The core bypass requires that the POST request arrives at cmd.cgi without a Cookie header, allowing the server to accept matching NagFormId/nagFormId values from the POST body alone rather than comparing them against a session-bound cookie value. This scenario is plausible in cross-origin contexts where cookie transmission is suppressed (e.g., by cookie policies, browser partitioning, or crafted requests). Exploitation is limited by the UI:A requirement - it cannot be automated against unauthenticated users. Impact scope is also bounded by the victim's Nagios privilege level; commands executed will reflect whatever the authenticated user is permitted to issue.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N) scores at 6.9, reflecting a network-reachable, low-complexity attack requiring active user interaction but carrying high integrity impact. The UI:A requirement is the primary real-world friction - a currently authenticated Nagios user must be tricked into triggering the cross-site request, typically via a link or embedded content on an attacker-controlled page. This limits mass exploitation but is trivially weaponizable in targeted attacks against Nagios administrators, who by definition have access to impactful monitoring commands. EPSS data is not available in the provided intelligence; KEV status is not confirmed, and no POC is publicly identified. Despite the moderate CVSS score, the organizational impact can be severe: a successful CSRF against an admin could disable monitoring, suppress alerts, or suppress downtime notifications - actions that could mask a concurrent breach. The bypass mechanism (empty cookie + matching POST values) is a well-known antipattern, meaning exploitation complexity is low for an informed attacker even without a published PoC.

Exploit ScenarioDerived

An attacker identifies a Nagios administrator who is currently logged into the Nagios web interface. The attacker sends the administrator a phishing link to a page hosting a hidden form that POSTs to cmd.cgi with matching NagFormId and nagFormId values, omitting or manipulating the Cookie header so the CSRF check falls into the vulnerable code path. When the administrator's browser submits the form, Nagios executes the embedded command - such as disabling all host notifications - under the victim's authenticated session, with no indication to the victim that anything occurred.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 26, 2026

Cross-site request forgery in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) allows an attacker to execute arbitrary Nagios commands on behalf of an authenticated user by exploiting a bypass in the double-submit cookie CSRF protection implemented in cmd.cgi. When the Cookie header is absent in a POST request, the server's CSRF check can be satisfied simply by supplying matching NagFormId and nagFormId values in the POST body - a condition entirely within the attacker's control. No confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, though the technique is well-understood and the bypass mechanism is straightforward to reproduce.

RemediationAI

Upgrade Nagios Core to version 4.5.13 or later, and Nagios XI to version 2026R1.5 or later, per the vendor advisory at https://www.nagios.com/security-disclosures/nagios-core/. Patched versions should enforce that the double-submit CSRF token is tied to an active session cookie, rejecting requests where the Cookie header is absent rather than falling back to a body-only comparison. As a compensating control where immediate patching is not possible, restrict access to cmd.cgi at the web server or network perimeter level to known, trusted internal IP ranges - this reduces the attack surface by making it harder for an attacker to route a cross-site POST to the endpoint from an external origin. Additionally, enforcing SameSite=Strict or SameSite=Lax on Nagios session cookies at the web server level (e.g., via Apache Header directives) would prevent browsers from sending session cookies on cross-origin requests, neutralizing the CSRF vector independently of the application-level fix. Note that the SameSite workaround depends on browser enforcement and does not address the root logic flaw.

Affected VersionsENISA

Nagios XI 0 <2026R1.5
Nagios Core 0 <4.5.13

Affected Packages

euvd nagios_core fix: 4.5.13
euvd nagios_xi fix: 2026R1.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nagios Core and Nagios XI both expose cmd.cgi, the command submission endpoint used to issue monitoring actions such as host/service checks, acknowledgements, notifications, and downtime scheduling. The affected implementation relies on the double-submit cookie pattern for CSRF protection: a secret token is written to a cookie and echoed into the form as NagFormId/nagFormId, with the server verifying they match. The critical flaw (CWE-352) is that when no Cookie header accompanies the request, the server does not enforce that the form tokens correspond to any session-bound value - it simply checks that NagFormId and nagFormId match each other. Because both values are in the POST body, an attacker controls them entirely and can trivially satisfy the check. Affected CPEs are cpe:2.3:a:nagios_enterprises,_llc.:nagios_core:*:*:*:*:*:*:*:* (all versions prior to 4.5.13) and cpe:2.3:a:nagios_enterprises,_llc.:nagios_xi:*:*:*:*:*:*:*:* (all versions prior to 2026R1.5).

Know when Nagios Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable CSRF requiring authenticated victim interaction (UI:R, PR:N); integrity-only impact on Nagios commands; no scope change or confidentiality/availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Nagios Core before 4.5.13 and Nagios XI before 2026R1.5 contains a CSRF vulnerability in cmd.cgi. When no Cookie header is present, the double-submit cookie protection can be bypassed by supplying matching NagFormId and nagFormId values in the POST body, allowing a cross-site request to execute Nagios commands as a currently authenticated user.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
widely used open-source infrastructure monitoring platform, common in enterprise and MSP environments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2018-13458 MEDIUM POC
5.5 Jul 12

qh_core in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to

CVE-2018-13457 MEDIUM POC
5.5 Jul 12

qh_echo in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to

CVE-2018-18245 MEDIUM POC
5.4 Dec 17

Nagios Core 4.4.2 has XSS via the alert summary reports of plugin results, as demonstrated by a SCRIPT element delivered

CVE-2020-35269 HIGH
8.8 Dec 23

Nagios Core application version 4.2.4 is vulnerable to Site-Wide Cross-Site Request Forgery (CSRF) in many functions, li

CVE-2017-14312 HIGH
7.8 Sep 11

Nagios Core through 4.3.4 initially executes /usr/sbin/nagios as root but supports configuration options in which this f

CVE-2026-48554 HIGH
7.7 Aug 12

Remote code execution in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows authenticated UI users to ru

CVE-2026-48553 HIGH
7.7 Aug 12

Authenticated remote code execution in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) is achievable via OS

CVE-2026-48548 MEDIUM
6.9 Aug 26

Cross-site request forgery in Nagios Core before 4.5.12 enables remote attackers to execute arbitrary monitoring command

CVE-2026-48551 MEDIUM
6.1 Aug 12

Cross-site request forgery protection bypass in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows unaut

CVE-2026-48550 MEDIUM
5.1 Aug 12

Reflected cross-site scripting in Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 allows unauthenticated remote

CVE-2026-48552 MEDIUM
5.1 Aug 12

DOM-based cross-site scripting in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows an authenticated lo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy