Nagios Core before 4.5.12 contains a cross-site request forgery vulnerability in cmd.cgi where the CSRF protection mechanism passes validation when the NagFormId cookie is absent. Attackers can craft a malicious cross-site POST request to execute arbitrary Nagios commands as a currently authenticated user without their knowledge or consent.
Severity
Not rated by the source.
Dates
Published
2026-08-26 16:16 UTC
Modified
2026-10-14 06:00 UTC
Affected packages and fixes
nagios4
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 4.4.6-4+deb12u1 (ecosystem)
Fixed versions
4.4.6-4+deb12u1
Fix
Fixed version 4.4.6-4+deb12u1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
nagios4
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 4.4.6-4.1+deb13u1 (ecosystem)
Fixed versions
4.4.6-4.1+deb13u1
Fix
Fixed version 4.4.6-4.1+deb13u1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
nagios4
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 4.5.12+ds-1 (ecosystem)
Fixed versions
4.5.12+ds-1
Fix
Fixed version 4.5.12+ds-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.